_bfd_ecoff_slurp_symbol_table buffer overflow
authorAlan Modra <amodra@gmail.com>
Mon, 13 Feb 2023 11:45:05 +0000 (22:15 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 13 Feb 2023 12:36:48 +0000 (23:06 +1030)
commit0d2f72332c7606fa3181b54dceef82d1af403624
tree9e54cdb1c22b2643d06536a778c652f5519aba03
parent77be7257442b1ca19deba8ec0e424f0faf53321f
_bfd_ecoff_slurp_symbol_table buffer overflow

Add missing bounds check, and tidy the existing bounds checking.

* ecoff.c (_bfd_ecoff_slurp_symbol_table): Break overlong lines.
Set bfd_error.  Bounds check internal_sym.iss.
bfd/ecoff.c