aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-03-18 15:45:19 +0000
committerDavid Sterba <[email protected]>2019-03-19 13:12:31 +0000
commit7ff2c2a1a71e83f74574b8001ea88deb3c166ad7 (patch)
tree97cec6b8466e56b77f6aadc84cbea18d64ee114b /tools/perf/scripts/python/check-perf-trace.py
parentbtrfs: raid56: properly unmap parity page in finish_parity_scrub() (diff)
downloadkernel-7ff2c2a1a71e83f74574b8001ea88deb3c166ad7.tar.gz
kernel-7ff2c2a1a71e83f74574b8001ea88deb3c166ad7.zip
btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
If 'cur_level' is 7 then the bound checking at the top of the function will actually pass. Later on, it's possible to dereference ds_path->nodes[cur_level+1] which will be an out of bounds. The correct check will be cur_level >= BTRFS_MAX_LEVEL - 1 . Fixes-coverty-id: 1440918 Fixes-coverty-id: 1440911 Fixes: ea49f3e73c4b ("btrfs: qgroup: Introduce function to find all new tree blocks of reloc tree") CC: [email protected] # 4.20+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions