Skip to content
Commit cc65f1ec authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86 setup: correct segfault in generation of 32-bit reloc kernel



Impact: segfault on build of a 32-bit relocatable kernel

When converting arch/x86/boot/compressed/relocs.c to support unlimited
sections, the computation of sym_strtab in walk_relocs() was done
incorrectly.  This causes a segfault for some people when building the
relocatable 32-bit kernel.

Pointed out by Anonymous <pageexec@freemail.hu>.

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 95b866d5
Loading
Loading
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