diff options
author | Chris Wilson <[email protected]> | 2016-06-20 19:53:33 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-06-20 21:20:16 +0200 |
commit | e4245ea898797f606cf2260c9c1970414b96af78 (patch) | |
tree | 8b3538d0384afab78c6799f497f304f6bf07d7fb /lib/netdev-notifier-error-inject.c | |
parent | c001da4f7c025a612a594b0ac421bce11fb5bc8b (diff) |
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 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions