summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-07-21 16:52:54 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-07 09:43:36 -0700
commit006a6f0f6ea629a5b37d7b9f3299cf5b6aecb42e (patch)
treeb11201d2175a76ce89baa3d461c9295d4597d24a /scripts/stackusage
parentb97c53576866d3ba3fb4d9694a0fca7a0ef925ac (diff)
downloadlinux-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