diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-04 11:58:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-04 11:58:16 +0000 |
commit | 049b0c3a2467c785f9068915d81fdba4985470bf (patch) | |
tree | 65d2a6eeaf2ddeb0125c9cac82a819a6015a8d64 /libiberty | |
parent | e0f52461c2467b6610391681fa27cd9b3c5def57 (diff) | |
download | gdb-049b0c3a2467c785f9068915d81fdba4985470bf.zip gdb-049b0c3a2467c785f9068915d81fdba4985470bf.tar.gz gdb-049b0c3a2467c785f9068915d81fdba4985470bf.tar.bz2 |
Fixes for crashes running readelf.
PR binutils/17531
* readelf.c (get_data): If the reason parameter is null, do not
print any error messages.
(get_32bit_section_headers): Verify section header entry size
before reading in the section headers.
(get_64bit_section_headers): Likewise.
(process_section_headers): Pass FALSE to get_section_headers.
(get_file_header): Pass TRUE to get_section_headers.
(process_dynamic_section): Change an assert to an error message.
(process_symbol_table): Handle corrupt histograms.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions