diff options
author | Nick Clifton <nickc@redhat.com> | 2015-01-06 22:02:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-01-06 22:02:55 +0000 |
commit | e7287c7f647870093b8ab5ffea0732ffdb8c4d66 (patch) | |
tree | c72a8047b5947aa011171b8c7c1989ecd13e682a /bfd/ChangeLog | |
parent | e749cab89d976c723ee01a3dfcfd7ec1a883f890 (diff) | |
download | gdb-e7287c7f647870093b8ab5ffea0732ffdb8c4d66.zip gdb-e7287c7f647870093b8ab5ffea0732ffdb8c4d66.tar.gz gdb-e7287c7f647870093b8ab5ffea0732ffdb8c4d66.tar.bz2 |
Another fix for an objdump crash when parsing a corrupt binary.
PR binutils/17512
* mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the
string table.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 383cf29..10ffe34 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,6 +1,9 @@ 2015-01-06 Nick Clifton <nickc@redhat.com> PR binutils/17512 + * mach-o.c (bfd_mach_o_read_symtab_strtab): Zero terminate the + string table. + * reloc.c (bfd_get_reloc_size): Handle a reloc size of -1. (bfd_perform_relocation): Include the size of the reloc in the test for an out of range relocation. |