Files
linux/drivers/gpu/drm
Joe Moriarty 3bd07ccd27 drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem
The Parfait (version 2.1.0) static code analysis tool found the
following NULL pointer dereference problem.

- drivers/gpu/drm/drm_drv.c
Any calls to drm_minor_get_slot() could result in the return of a NULL
pointer when an invalid DRM device type is encountered.  The
return of NULL was removed with BUG() from drm_minor_get_slot().

Signed-off-by: Joe Moriarty <joe.moriarty@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180220191157.100960-3-joe.moriarty@oracle.com
2018-03-06 08:14:16 +01:00
..
2018-01-30 18:05:25 +01:00
2018-02-01 11:35:46 +10:00
2017-12-27 19:00:09 -05:00
2018-02-28 15:08:56 -05:00
2017-11-23 12:31:49 +02:00
2018-01-24 15:49:04 -05:00