This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] PR21432, buffer overflow in perform_relocation
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 29 Apr 2017 06:02:12 -0400
- Subject: [binutils-gdb] PR21432, buffer overflow in perform_relocation
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT a941291cab71b9ac356e1c03968c177c03e602ab ***
Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: a941291cab71b9ac356e1c03968c177c03e602ab
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.