This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix seg fault objdumping a corrupt binary with an invalid sh_link field.


*** TEST RESULTS FOR COMMIT 315350be6598235df12a0190a5a4c21447eead36 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 315350be6598235df12a0190a5a4c21447eead36

Fix seg fault objdumping a corrupt binary with an invalid sh_link field.

	PR binutils/20063
	* elf.c (bfd_elf_get_elf_syms): Check for out of range sh_link
	field before accessing sections array.

	* readelf.c (get_32bit_section_headers): Warn if an out of range
	sh_link or sh_info field is encountered.
	(get_64bit_section_headers): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]