aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_auth.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-06-20 18:53:33 +0000
committerDaniel Vetter <[email protected]>2016-06-20 19:20:16 +0000
commite4245ea898797f606cf2260c9c1970414b96af78 (patch)
tree8b3538d0384afab78c6799f497f304f6bf07d7fb /drivers/gpu/drm/drm_auth.c
parentdrm: fix send_vblank_event use-after-free error (diff)
downloadkernel-e4245ea898797f606cf2260c9c1970414b96af78.tar.gz
kernel-e4245ea898797f606cf2260c9c1970414b96af78.zip
drm: Prevent NULL deref in drm_name_info()
If a driver does not have a parent, or never sets the unique name for itself, then we may proceed to chase a NULL dereference through debugfs/.../name. Testcase: igt/vgem_basic/debugfs Signed-off-by: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
0 files changed, 0 insertions, 0 deletions