aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-04-29 14:48:16 +0930
committerAlan Modra <amodra@gmail.com>2017-04-29 18:59:37 +0930
commita941291cab71b9ac356e1c03968c177c03e602ab (patch)
treed65e215e50c613debf66d04caedaef757d4d2839 /gdb/python/python.c
parent45ce1b47e4490993b5c1a04f4a8acb62d9ec5039 (diff)
downloadbinutils-a941291cab71b9ac356e1c03968c177c03e602ab.zip
binutils-a941291cab71b9ac356e1c03968c177c03e602ab.tar.gz
binutils-a941291cab71b9ac356e1c03968c177c03e602ab.tar.bz2
PR21432, buffer overflow in perform_relocation
The existing reloc offset range tests didn't catch small negative offsets less than the size of the reloc field. PR 21432 * reloc.c (reloc_offset_in_range): New function. (bfd_perform_relocation, bfd_install_relocation): Use it. (_bfd_final_link_relocate): Likewise.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions