[PATCH v3 0/3] perf header: Fix memory corruption and unnecessary warning

Ian Rogers posted 3 patches 2 weeks ago
tools/perf/util/header.c | 122 ++++++++++++++++++++++++---------------
1 file changed, 74 insertions(+), 48 deletions(-)
[PATCH v3 0/3] perf header: Fix memory corruption and unnecessary warning
Posted by Ian Rogers 2 weeks ago
Some minor fixes that have shown up during testing.

v3: Fix Sashiko include nit. Accidentally posted wrong 1st patch in v2 (sorry :-( )
v2: Fix missing newling for pr_warning:
https://lore.kernel.org/linux-perf-users/20260910175634.3014018-1-irogers@google.com/
v1:
https://lore.kernel.org/linux-perf-users/20260910173715.2996571-1-irogers@google.com/

Ian Rogers (3):
  perf header: Fix HEADER_COMPRESSED validation for comp_mmap_len
  perf header: Fix potential memory corruption in cpu_cache_level__read
  perf header: Transition WARN macros to debug.h equivalents

 tools/perf/util/header.c | 122 ++++++++++++++++++++++++---------------
 1 file changed, 74 insertions(+), 48 deletions(-)

-- 
2.55.0.1007.g17ff1f9808-goog
Re: [PATCH v3 0/3] perf header: Fix memory corruption and unnecessary warning
Posted by Arnaldo Carvalho de Melo 1 week, 4 days ago
On Thu, Sep 10, 2026 at 02:12:17PM -0700, Ian Rogers wrote:
> Some minor fixes that have shown up during testing.
> 
> v3: Fix Sashiko include nit. Accidentally posted wrong 1st patch in v2 (sorry :-( )
> v2: Fix missing newling for pr_warning:
> https://lore.kernel.org/linux-perf-users/20260910175634.3014018-1-irogers@google.com/
> v1:
> https://lore.kernel.org/linux-perf-users/20260910173715.2996571-1-irogers@google.com/

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo
 
> Ian Rogers (3):
>   perf header: Fix HEADER_COMPRESSED validation for comp_mmap_len
>   perf header: Fix potential memory corruption in cpu_cache_level__read
>   perf header: Transition WARN macros to debug.h equivalents
> 
>  tools/perf/util/header.c | 122 ++++++++++++++++++++++++---------------
>  1 file changed, 74 insertions(+), 48 deletions(-)
> 
> -- 
> 2.55.0.1007.g17ff1f9808-goog