diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-13 10:45:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-13 10:45:50 +0000 |
commit | 3102e897eeda28961a32826095befef5c4a74097 (patch) | |
tree | 443057786ff6a438191a01b8ff8b9036cd0fc99e /bfd/libcoff.h | |
parent | a59add0c2ed21c03efc8b39e333564d7713a7ccc (diff) | |
download | gdb-3102e897eeda28961a32826095befef5c4a74097.zip gdb-3102e897eeda28961a32826095befef5c4a74097.tar.gz gdb-3102e897eeda28961a32826095befef5c4a74097.tar.bz2 |
More fixes for readelf problems reading corrupt files.
PR binutils/17531
* readelf.c (process_version_sections): If the read of the version
def information fails, make sure that the external verdef data is
not used.
(get_dynamic_data): Do not attempt to allocate memory for more
dynamic data than there is in the file. If the read fails, free
the allocated buffer.
(process_symbol_table): Do not print dynamic information if we
were unable to read the dynamic symbol table.
(print_gnu_note): Do not print the note if the descsz is too
small.
Diffstat (limited to 'bfd/libcoff.h')
0 files changed, 0 insertions, 0 deletions