]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: Yet another ecoff fuzzed object fix
authorAlan Modra <amodra@gmail.com>
Thu, 6 Jun 2024 22:57:31 +0000 (08:27 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 7 Jun 2024 11:05:12 +0000 (20:35 +0930)
commitd89cd643c521878572f509093287b5ba229e0fa2
treef70e6bd92fe74f738d0babe893476c9cf82aadb7
parentb284a87b49c9546445469fd4fa7c61bb782c6bd6
Re: Yet another ecoff fuzzed object fix

In commit 6fc018e9e593 I replaced the fdr_ptr csym check against the
header isymMax count with a check against bfd symcount.  In fact, both
checks are needed.  The isymMax check sanity checks accesses against
the external sym array, the symcount one against the internal array.

* ecoff.c (_bfd_ecoff_slurp_symbol_table): Reinstate fdr_ptr
csym check against isymMax.
bfd/ecoff.c