diff options
author | Nick Clifton <nickc@redhat.com> | 2015-02-10 17:53:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-02-10 17:53:53 +0000 |
commit | 834f871cdc6e5d9f5bda9ce607fd3c47f41a2ade (patch) | |
tree | c215907e04d8ef3cac4e7c952d817e38a2383fac /binutils/ChangeLog | |
parent | 03a91817f163986f10cb843f58e2f2cd9186e4f0 (diff) | |
download | gdb-834f871cdc6e5d9f5bda9ce607fd3c47f41a2ade.zip gdb-834f871cdc6e5d9f5bda9ce607fd3c47f41a2ade.tar.gz gdb-834f871cdc6e5d9f5bda9ce607fd3c47f41a2ade.tar.bz2 |
Fix memory access violations discovered by running readelf compiled with undefined memory access sanitization on fuzzed binaries.
PR binutils/17531
* dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
offset.
* readelf.c (dump_relocations): Handle printing offsets which are
MIN_INT.
(process_corefile_note_segment): Add range check of the namesz
field.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4befee3..a5b227e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -22,6 +22,14 @@ since correct initialisation cannot be relied upon. (process_cu_tu_index): Improve range checks. + PR binutils/17531 + * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for + offset. + * readelf.c (dump_relocations): Handle printing offsets which are + MIN_INT. + (process_corefile_note_segment): Add range check of the namesz + field. + 2015-02-09 Mark Wielaard <mjw@redhat.com> * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 |