diff options
| author | Ian Rogers <[email protected]> | 2025-05-28 03:26:32 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-05-28 13:12:47 +0000 |
| commit | 07f2b1287c970e0706c0e8fbb358ca4c1e7f8d4e (patch) | |
| tree | baad58641453fb4939a028c920058645fb7687fe /rust/helpers/helpers.c | |
| parent | perf symbol: Fix use-after-free in filename__read_build_id (diff) | |
| download | kernel-07f2b1287c970e0706c0e8fbb358ca4c1e7f8d4e.tar.gz kernel-07f2b1287c970e0706c0e8fbb358ca4c1e7f8d4e.zip | |
perf test demangle-java: Don't segv if demangling fails
The buffer returned by dso__demangle_sym() may be NULL, don't segv in
strcmp if this happens.
Currently this happens for NO_LIBELF=1 builds.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alex Gaynor <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alice Ryhl <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Andreas Hindborg <[email protected]>
Cc: Benno Lossin <[email protected]>
Cc: Björn Roy Baron <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Danilo Krummrich <[email protected]>
Cc: Dmitriy Vyukov <[email protected]>
Cc: Gary Guo <[email protected]>
Cc: Howard Chu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiapeng Chong <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephen Brennan <[email protected]>
Cc: Trevor Gross <[email protected]>
Cc: Weilin Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
