Skip to content

perf header: Fix memory corruption and unnecessary warning

Ian Rogers linux-perf-users lkml 2 versions Applied

Status from this message: Thanks, applied to perf-tools-next, for v7.4.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v13 patches 0 repliesSuperseded

v1 from the cover letter

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3perf header: Fix HEADER_COMPRESSED validation for comp_mmap_lentools/perf/util/header.c+42 -370 replies
2/3perf header: Fix potential memory corruption in cpu_cache_level__readtools/perf/util/header.c+15 -30 replies
3/3perf header: Transition WARN macros to debug.h equivalentstools/perf/util/header.c+18 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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/[email protected]/
v1:
https://lore.kernel.org/linux-perf-users/[email protected]/

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(-)
Signature · 1 line
2.55.0.1007.g17ff1f9808-goog