diff options
author | Nick Clifton <nickc@redhat.com> | 2017-11-03 11:55:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-11-03 11:55:21 +0000 |
commit | 6cee897971d4d7cd37d2a686bb6d2aa3e759c8ca (patch) | |
tree | 2e9c1fb1aab283ad800e3c9f98880e0f726c4f86 /gdb | |
parent | 8e68731c8a4aecb3481803e91b9bcd2df182c135 (diff) | |
download | binutils-6cee897971d4d7cd37d2a686bb6d2aa3e759c8ca.zip binutils-6cee897971d4d7cd37d2a686bb6d2aa3e759c8ca.tar.gz binutils-6cee897971d4d7cd37d2a686bb6d2aa3e759c8ca.tar.bz2 |
Fix excessive memory allocation attempts and possible integer overfloaws when attempting to read a COFF binary with a corrupt symbol count.
PR 22385
* coffgen.c (_bfd_coff_get_external_symbols): Check for an
overlarge raw syment count.
(coff_get_normalized_symtab): Likewise.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions