Re: [PATCHES v8 0/2] perf c2c hardening
From: Namhyung Kim
Date: Thu Aug 06 2026 - 12:29:33 EST
On Wed, 05 Aug 2026 12:10:41 -0300, Arnaldo Carvalho de Melo wrote:
> Please consider merging,
>
> Two hardening fixes for perf c2c found by the sashiko-bot AI reviewer.
>
> Patch 1 fixes error masking, OOM, and unchecked caller errors in
> hpp_list__parse(): the strdup() return values are now checked, PARSE_LIST
> was turned into a function that bails out on any error returned by the
> parsing callbacks (including -ENOMEM), and the two callers bailing out
> with the newly propagated errors, setup_sort_list() and
> setup_output_list(), now break out of their token loops and propagate the
> error instead of silently overwriting it on the next iteration.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung