Commit 65919144 authored by Jiri Olsa's avatar Jiri Olsa Committed by Greg Kroah-Hartman
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 stable trees that merged 8fa2b681 fix,
the upstream build id code was refactored and returns proper
build id.

Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Fixes: 8fa2b681 ("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 7a514335
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment