aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-04-04 02:00:49 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-04-04 02:00:49 +0100
commit0cc919dc6abede5e61b9d8234028fba879166088 (patch)
tree47cdf5670918bff8328d8f28bdc5a5c1696c0b45 /gdb/objc-lang.h
parentf428698edfd845a21639f5145cba3772eb92abc2 (diff)
downloadbinutils-0cc919dc6abede5e61b9d8234028fba879166088.zip
binutils-0cc919dc6abede5e61b9d8234028fba879166088.tar.gz
binutils-0cc919dc6abede5e61b9d8234028fba879166088.tar.bz2
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.
Diffstat (limited to 'gdb/objc-lang.h')
0 files changed, 0 insertions, 0 deletions