linux/drivers/gpu
Pauli Nieminen fcbc451ba1 drm/radeon/kms: Fix NULL pointer dereference if memory allocation failed.
When there is allocation failure in radeon_cs_parser_relocs parser->nrelocs
is not cleaned. This causes NULL pointer defeference in radeon_cs_parser_fini
when clean up code is trying to loop over the relocation array and free the
objects.

Fix adds a check for a possible NULL pointer in clean up code.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-31 13:11:53 +10:00
..
drm drm/radeon/kms: Fix NULL pointer dereference if memory allocation failed. 2010-03-31 13:11:53 +10:00
vga vga_switcheroo: disable default y by new rules. 2010-03-03 09:26:35 +10:00
Makefile PCI/GPU: implement VGA arbitration on Linux 2009-09-09 13:29:36 -07:00