summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-11-23 10:51:17 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-11-23 12:10:48 -0800
commite87f7329bbd6760c2acc4f1eb423362b08851a71 (patch)
tree6d28cf50361a531e77bc758ab7807d845e25d787 /tools/perf/scripts/python/syscall-counts.py
parentded9b5dd205ef04aa095c3b731c635b201191a59 (diff)
f2fs: fix overflow due to condition check order
In the last ilen case, i was already increased, resulting in accessing out- of-boundary entry of do_replace and blkaddr. Fix to check ilen first to exit the loop. Fixes: 2aa8fbb9693020 ("f2fs: refactor __exchange_data_block for speed up") Cc: stable@vger.kernel.org # 4.8+ Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions