[PATCH] drm/bridge: Fix a NULL pointer dereference in drm_atomic_bridge_chain_check()

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 7 12:29:18 UTC 2020


Quoting Laurent Pinchart (2020-01-07 12:15:47)
> Hi Boris,
> 
> Thank you for the patch.
> 
> On Tue, Jan 07, 2020 at 12:30:31PM +0100, Boris Brezillon wrote:
> > drm_atomic_bridge_chain_check() callers can pass a NULL bridge. Let's
> > bail out before derefencing the bridge pointer when that happens.
> > 
> > Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Fixes: b86d895524ab ("drm/bridge: Add an ->atomic_check() hook")
> > Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

CI is back to its normal grumpy self,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the dri-devel mailing list