aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHarshvardhan Jha <[email protected]>2021-07-09 13:09:59 +0530
committerDaniel Vetter <[email protected]>2021-07-09 10:06:11 +0200
commitea9a897b8affa0f7b4c90182b785dded74e434aa (patch)
treed18cbb71b87da26fdea6b6702b0e4b3eb590fcb1 /tools/perf/scripts/python/flamegraph.py
parent911684de2a8b891603784703cd5a316fc98b3c0a (diff)
drm/gma500: Fix end of loop tests for list_for_each_entry
The list_for_each_entry() iterator, "connector" in this code, can never be NULL. If we exit the loop without finding the correct connector then "connector" points invalid memory that is an offset from the list head. This will eventually lead to memory corruption and presumably a kernel crash. Fixes: 9bd81acdb648 ("gma500: Convert Oaktrail to work with new output handling") Signed-off-by: Harshvardhan Jha <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions