diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-04 15:29:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-04 15:29:03 +0000 |
commit | e0a31db1b16fe0a010aa46185e4a31a08e7fd97f (patch) | |
tree | ac85af3d57080574fa73083a814459940c7c043c /binutils/ChangeLog | |
parent | bb0d867169d7e9743d229804106a8fbcab7f3b3f (diff) | |
download | gdb-e0a31db1b16fe0a010aa46185e4a31a08e7fd97f.zip gdb-e0a31db1b16fe0a010aa46185e4a31a08e7fd97f.tar.gz gdb-e0a31db1b16fe0a010aa46185e4a31a08e7fd97f.tar.bz2 |
More fixes for memory corruption when readelf processes corrupt files.
PR binutils/17531
(get_32bit_program_headers): Verify program header entry size
before reading in the program headers.
(get_64bit_program_headers): Likewise.
(get_unwind_section_word): Do nothing if no section was provided.
Fail if the offset is outside of the section.
(print_dynamic_symbol): Catch out of range symbol indicies.
(process_mips_specific): Likewise.
(process_attributes): Make sure that there is enough space left in
the section before attempting to read the length of the next
attribute.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0815bb8..f3c7196 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -11,6 +11,17 @@ (process_dynamic_section): Change an assert to an error message. (process_symbol_table): Handle corrupt histograms. + (get_32bit_program_headers): Verify program header entry size + before reading in the program headers. + (get_64bit_program_headers): Likewise. + (get_unwind_section_word): Do nothing if no section was provided. + Fail if the offset is outside of the section. + (print_dynamic_symbol): Catch out of range symbol indicies. + (process_mips_specific): Likewise. + (process_attributes): Make sure that there is enough space left in + the section before attempting to read the length of the next + attribute. + 2014-11-03 Nick Clifton <nickc@redhat.com> PR binutils/17512 |