Re: [PATCH v2] perf parse-events: Prevent null pointer dereference in __add_event()

From: Markus Elfring
Date: Mon Aug 25 2025 - 08:56:11 EST



> Signed-off-by: GuoHan Zhao <zhaoguohan@xxxxxxxxxx>
>
> Changes in V2:
> - Extended the goto chain with separate error handling labels …
> ---
> tools/perf/util/parse-events.c | 15 +++++++++------


Please move your patch version descriptions behind the marker line.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc3#n784

Regards,
Markus