summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-12-19 22:09:16 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-19 22:47:38 +0300
commite1f0fbda75e6447077205b472d1dd71bef417a4c (patch)
treec211170cc59e15d60d081312ab3cd0d80334a3d4 /tools/perf/scripts/python
parent281176327d0217d3ee0f7acc93f7542cc1b1ce9d (diff)
downloadlinux-e1f0fbda75e6447077205b472d1dd71bef417a4c.tar.xz
drm/i915: fix uninitialized pointer reads on pointers to and from
Currently pointers to and from are not initialized and may contain garbage values. This will cause uninitialized pointer reads in the call to intel_frontbuffer_track and later checks to see if to and from are null. Fix this by ensuring to and from are initialized to NULL. Addresses-Coverity: ("Uninitialised pointer read)" Fixes: da42104f589d ("drm/i915: Hold reference to intel_frontbuffer as we track activity") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191219190916.24693-1-colin.king@canonical.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions