diff options
author | Li Bin <[email protected]> | 2020-05-21 21:32:18 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-05-28 10:03:27 -0300 |
commit | fa99ce828291cbbf8782284665365bc2c48e9318 (patch) | |
tree | 59dbc6298bbf1bbee60425364e86ba9a9e2378e9 /scripts/gdb/linux/device.py | |
parent | 07e9a6f538cbeecaf5c55b6f2991416f873cdcbd (diff) |
perf util: Fix potential SEGFAULT in put_tracepoints_path error path
This patch fix potential segment fault triggered in
put_tracepoints_path() when the address of the local variable 'path' be
freed in error path of record_saved_cmdline.
Signed-off-by: Li Bin <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hongbo Yao <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Xie XiuQi <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions