[binutils-gdb] PR binutils/22875: IQ2000/ELF: Prevent an out-of-bounds howto table access

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Wed Apr 4 01:44:00 GMT 2018


*** TEST RESULTS FOR COMMIT 0cc919dc6abede5e61b9d8234028fba879166088 ***

Author: Maciej W. Rozycki <macro@mips.com>
Branch: master
Commit: 0cc919dc6abede5e61b9d8234028fba879166088

PR binutils/22875: IQ2000/ELF: Prevent an out-of-bounds howto table access

Prevent an out-of-bounds `iq2000_elf_howto_table' table access in
`iq2000_info_to_howto_rela' by using the size of the table rather than
R_IQ2000_max to determine the number of entries in the contiguous
regular IQ2000 relocation range defined and described in the table.

	bfd/
	* elf32-iq2000.c (iq2000_info_to_howto_rela): Correct the range
	check for `iq2000_elf_howto_table' table access.



More information about the Gdb-testers mailing list