]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: fix NULL pointer dereference in UMS mode
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Mon, 7 Jan 2013 23:21:57 +0000 (18:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 19:44:35 +0000 (11:44 -0800)
commit805067d52c93091b46f47df97a8a5088a6ccdc12
tree88382ddaf2ea7097a6dc0d3c1d09086c0135aeda
parent14996053c9852facde38b7a1c58769041223d686
drm/radeon: fix NULL pointer dereference in UMS mode

commit ff4bd0827764e10a428a9d39e6814c5478863f94 upstream.

In UMS mode parser->rdev is NULL, so dereferencing
will cause an oops.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_cs.c