Files
linux/tools
Michail Tatas 9d393ca644 perf ftrace: Fix leak in parse_filter_event
strsep() advances the pointer given to it. After the loop s is
either NULL (on success) or points mid buffer (early exit if malloc
fails) so the original buffer is never freed properly.
Fix by adding a tmp pointer for use by strsep and free the original
pointer

Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-08-03 10:39:13 -07:00
..
2026-04-14 04:43:26 +00:00
2026-07-08 10:38:18 +02:00