summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMichail Tatas <michail.tatas@gmail.com>2026-08-03 10:50:04 +0300
committerNamhyung Kim <namhyung@kernel.org>2026-08-03 10:39:13 -0700
commit9d393ca644cd6c827f5dfae09c99f585d981bf4c (patch)
treefe15658d63b9a03b333680f642294277c1766850 /scripts/patch-kernel
parentdbd2505061349bbee9c3282472f14ae27da8adfd (diff)
downloadlinux-9d393ca644cd6c827f5dfae09c99f585d981bf4c.tar.gz
linux-9d393ca644cd6c827f5dfae09c99f585d981bf4c.zip
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions