aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2018-12-03 23:28:02 -0500
committerTheodore Ts'o <[email protected]>2018-12-03 23:28:02 -0500
commit61157b24e60fb3cd1f85f2c76a7b1d628f970144 (patch)
tree0e6fc271e232be09fe8b384561de9010453953b4 /tools/perf/scripts/python/export-to-postgresql.py
parent96f1e097457506f215adfe3c47aacc15a88f6dd7 (diff)
ext4: fix possible use after free in ext4_quota_enable
The function frees qf_inode via iput but then pass qf_inode to lockdep_set_quota_inode on the failure path. This may result in a use-after-free bug. The patch frees df_inode only when it is never used. Fixes: daf647d2dd5 ("ext4: add lockdep annotations for i_data_sem") Cc: [email protected] # 4.6 Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions