summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-11-12 11:11:25 +0300
committerAmir Goldstein <amir73il@gmail.com>2023-11-14 09:09:36 +0300
commit37f32f52643869131ec01bb69bdf9f404f6109fb (patch)
tree19542e9b530ea0dd91d76f0b64987d25c281fc79 /tools/perf/scripts/python/export-to-postgresql.py
parentb28060db7172e6d8912d88b369123eb89e0d36b4 (diff)
downloadlinux-37f32f52643869131ec01bb69bdf9f404f6109fb.tar.xz
ovl: fix memory leak in ovl_parse_param()
On failure to parse parameters in ovl_parse_param_lowerdir(), it is necessary to update ctx->nr with the correct nr before using ovl_reset_lowerdirs() to release l->name. Reported-and-tested-by: syzbot+26eedf3631650972f17c@syzkaller.appspotmail.com Fixes: c835110b588a ("ovl: remove unused code in lowerdir param parsing") Co-authored-by: Edward Adam Davis <eadavis@qq.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions