More ecoff sanity checks
authorAlan Modra <amodra@gmail.com>
Wed, 15 Feb 2023 05:58:07 +0000 (16:28 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Feb 2023 06:06:00 +0000 (16:36 +1030)
commitc91714309754e27f7f3a6ffc08ba61739c418532
tree23a5a94d20d3eed9411a402f5babab3691b11259
parent72d225ef9cc7d475db188581da33b056df3191fd
More ecoff sanity checks

Change FIX so that unused pointers that escape the UPDATE_RAW_END
sanity checks won't result in overflows.  Also sanity check the local
sym fdr isymBase and csym values.

* ecoff.c (_bfd_ecoff_slurp_symbolic_info): Define FIX to set
pointers into swapped internal data to NULL if count is zero.
Sanity check local sym fdr_ptr->isymBase and fdr_ptr->csym.
bfd/ecoff.c