[PATCH] drm: Prevent NULL deref in drm_name_info()

Eric Engestrom eric.engestrom at imgtec.com
Wed Jun 22 11:14:20 UTC 2016


On Mon, Jun 20, 2016 at 07:53:33PM +0100, Chris Wilson wrote:
> 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 <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>


More information about the dri-devel mailing list