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 /bfd/elfcode.h | |
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 'bfd/elfcode.h')
0 files changed, 0 insertions, 0 deletions