aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2016-08-15 15:29:20 +0100
committerMatt Fleming <[email protected]>2016-09-09 16:08:48 +0100
commit22c2b77f419bdc9317f00b395283abd33157368e (patch)
tree379db94c904ad0916c7cbc9d11c0f0d2fc77f6e1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent0513fe1d28e45deb39159dbeedf0660c3f0effd2 (diff)
fs/efivarfs: Fix double kfree() in error path
Julia reported that we may double free 'name' in efivarfs_callback(), and that this bug was introduced by commit 0d22f33bc37c ("efi: Don't use spinlocks for efi vars"). Move one of the kfree()s until after the point at which we know we are definitely on the success path. Reported-by: Julia Lawall <[email protected]> Acked-by: Julia Lawall <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Sylvain Chouleur <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions