]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Potential use-after-free on error path.
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Feb 2009 11:31:41 +0000 (11:31 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:08 +0000 (12:21 +1000)
commit47cc7843c4a82f59cfeecf07ef85795365424995
tree445135f1c9a8e270e6d350404d6ecf57b8f778ef
parent7f95453b1de3e242e7d4752334d381d6f73350b4
drm: Potential use-after-free on error path.

Remove the member from the hash table before we free the structure!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_gem.c