Fix an assertion failure in the BFD library when parsing a corrupt SREC format file.
authorNick Clifton <nickc@redhat.com>
Wed, 21 Apr 2021 10:09:11 +0000 (11:09 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Apr 2021 10:09:11 +0000 (11:09 +0100)
commit33fe00c1232fa22c6c5f0099c1268a707f64b786
tree6c1979ab149f03cf47c1a267e9dcdd5740658c1c
parent23356397449a8aa65afead0a895a20be53b3c6b0
Fix an assertion failure in the BFD library when parsing a corrupt SREC format file.

PR 27759
* srec.c (srec_read_section): Replace assertions with error
returns.
bfd/ChangeLog
bfd/srec.c