https://sourceware.org/bugzilla/show_bug.cgi?id=33457
--- Comment #9 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9ca499644a21ceb3f946d1c179c38a83be084490 commit 9ca499644a21ceb3f946d1c179c38a83be084490 Author: H.J. Lu <[email protected]> Date: Thu Sep 18 16:59:25 2025 -0700 elf: Don't match corrupt section header in linker input Don't swap in nor match corrupt section header in linker input to avoid linker crash later. PR ld/33457 * elfcode.h (elf_swap_shdr_in): Changed to return bool. Return false for corrupt section header in linker input. (elf_object_p): Reject if elf_swap_shdr_in returns false. Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
