diff options
author | 2020-01-07 12:30:31 +0100 | |
---|---|---|
committer | 2020-01-07 14:19:54 +0100 | |
commit | b18398c16e176513502f962b642f89225039ef1f (patch) | |
tree | 2425c057a17c762c7491456e8aca9197196c8d13 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mgag200: Add module parameter to pin all buffers at offset 0 (diff) | |
download | wireguard-linux-b18398c16e176513502f962b642f89225039ef1f.tar.xz wireguard-linux-b18398c16e176513502f962b642f89225039ef1f.zip |
drm/bridge: Fix a NULL pointer dereference in drm_atomic_bridge_chain_check()
drm_atomic_bridge_chain_check() callers can pass a NULL bridge. Let's
bail out before dereferencing the bridge pointer when that happens.
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Fixes: b86d895524ab ("drm/bridge: Add an ->atomic_check() hook")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200107113031.435604-1-boris.brezillon@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions