Michel Dänzer 17aafccab4 drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure.
If radeon_cs_parser_init() fails, radeon_cs_ioctl() calls
radeon_cs_parser_fini() with the non-zero error value. The latter dereferenced
parser->ib which hasn't been initialized yet -> boom. Add a test for parser->ib
being non-NULL before dereferencing it.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-01 12:49:28 +10:00
..
2009-11-19 18:18:17 -05:00
2009-12-01 16:32:20 -08:00
2009-11-04 14:04:06 +01:00
2009-12-01 16:32:19 -08:00
2009-09-24 07:21:05 -07:00
2009-12-01 11:24:19 +01:00
2009-11-26 09:22:33 +01:00
2009-11-16 16:13:35 +00:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00