Skip to content
Snippets Groups Projects
Commit e2043bd5 authored by Jiri Olsa's avatar Jiri Olsa Committed by Frieder Schrempf
Browse files

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 84887f4c
fix, the upstream build id code was refactored and returns proper
build id.

Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Fixes: 84887f4c ("lib/buildid: harden build ID parsing logic")
Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d2d3093e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment