diff options
author | Andrey Ryabinin <[email protected]> | 2015-05-25 13:29:44 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-05-26 17:31:52 +0200 |
commit | 60f207a5b6d8f23c2e8388b415e8d5c7311cc79d (patch) | |
tree | 222c8cbf96f442329c2dc37ae7a986bc5e7e4c12 /tools/perf/scripts/python/syscall-counts.py | |
parent | 955f3c334f0fb2b843efad5cc6d3b7e141e9d666 (diff) |
drm/atomic: fix out of bounds read in for_each_*_in_state helpers
for_each_*_in_state validate array index after
access to array elements, thus perform out of bounds read.
Fix this by validating index in the first place and read
array element iff validation was successful.
Fixes: df63b9994eaf ("drm/atomic: Add for_each_{connector,crtc,plane}_in_state helper macros")
Signed-off-by: Andrey Ryabinin <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions