aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-07-13 18:34:45 +0100
committerChris Wilson <[email protected]>2016-07-14 21:32:27 +0100
commit6bc265424df02f8162f4a17a37e4982e1c64460e (patch)
treeca46f09572b65fcdaf305a0d7022757d7bab0d66 /tools/perf/scripts/python/netdev-times.py
parent0b8c0e9c3354953a5d6f90ece82961017053dc74 (diff)
drm/i915/fbdev: Check for the framebuffer before use
If the fbdev probing fails, and in our error path we fail to clear the dev_priv->fbdev, then we can try and use a dangling fbdev pointer, and in particular a NULL fb. This could also happen in pathological cases where we try to operate on the fbdev prior to it being probed. Reported-by: Maarten Lankhorst <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Mika Kuoppala <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions