diff options
| author | Ian Rogers <irogers@google.com> | 2026-07-21 16:52:54 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-07 09:43:36 -0700 |
| commit | 006a6f0f6ea629a5b37d7b9f3299cf5b6aecb42e (patch) | |
| tree | b11201d2175a76ce89baa3d461c9295d4597d24a /scripts/stackusage | |
| parent | b97c53576866d3ba3fb4d9694a0fca7a0ef925ac (diff) | |
| download | linux-006a6f0f6ea629a5b37d7b9f3299cf5b6aecb42e.tar.gz linux-006a6f0f6ea629a5b37d7b9f3299cf5b6aecb42e.zip | |
perf synthetic-events: Fix bounds and union member access in mmap2 build_id synthesis
Modify bounds and union member access in mmap2 build_id synthesis. Bound
max_filename_len against the minimum of filename array capacity and the
outer union stack layout minus sample ID trailers. This prevents both
-E2BIG overruns and _FORTIFY_SOURCE array bounds aborts on strlcpy even
if the enclosing union expands.
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
