diff options
author | Jiri Olsa <jolsa@kernel.org> | 2024-11-04 20:52:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-22 17:39:56 +0300 |
commit | d7f53c892ee5f08012a1248210bce7c6db474b86 (patch) | |
tree | 8eb0af1385f1d070f5c8b448535f78b9203ee9fd /scripts/generate_rust_analyzer.py | |
parent | 2f424ba1e00e4148c399857e02420de251c598fe (diff) | |
download | linux-d7f53c892ee5f08012a1248210bce7c6db474b86.tar.xz |
lib/buildid: Fix build ID parsing logic
The parse_build_id_buf does not account Elf32_Nhdr header size
when getting the build id data pointer and returns wrong build
id data as result.
This is problem only for stable trees that merged 768d731b8a0d
fix, the upstream build id code was refactored and returns proper
build id.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Fixes: 768d731b8a0d ("lib/buildid: harden build ID parsing logic")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions