summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-11-23 10:51:17 -0800
committerJaegeuk Kim <jaegeuk@google.com>2017-09-25 15:01:52 -0700
commitab6f3626a82db73b2a490804fe6591750c5b2233 (patch)
tree1c87fd8eceedee47aae5e1728397011bc6c4995c /tools/perf/scripts/python/export-to-postgresql.py
parent91d38ba8414bdbe7161d2d02eddf5e671db0024d (diff)
f2fs: fix overflow due to condition check order
commit e87f7329bbd6760c2acc4f1eb423362b08851a71 upstream. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions