Prevent an attempt to allocate an excessive amount of memory when dumping the symbols...
authorNick Clifton <nickc@redhat.com>
Fri, 28 Jun 2019 12:30:00 +0000 (13:30 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Jun 2019 12:30:00 +0000 (13:30 +0100)
commit781152ec18f56726c750cc0812a740396e4ec820
treecbab84833a47375ba9d352fedabffd777212cc45
parent999d6dff80fab12d22c2a8d91923db6bde7fb3e5
Prevent an attempt to allocate an excessive amount of memory when dumping the symbols in a malformed file.

PR 24707
* objdump.c (slurp_symtab): Fail with a helpful error message if
the symbol table is too large.
binutils/ChangeLog
binutils/objdump.c