More _bfd_ecoff_locate_line sanity checks
authorAlan Modra <amodra@gmail.com>
Mon, 6 Mar 2023 00:13:47 +0000 (10:43 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Mar 2023 02:41:22 +0000 (13:11 +1030)
commitd845ea8cd3daf11ddef16501f322875874295027
treeba804ee374e9c0235ad10cf6f72aa28780de1a03
parentd919194f08518c8bb9904f76c1077c4ac2037475
More _bfd_ecoff_locate_line sanity checks

* ecofflink.c (mk_fdrtab): Discard fdr with negative cpd.
(lookup_line): Sanity check fdr cbLineOffset and cbLine.
Sanity check pdr cbLineOffset.
bfd/ecofflink.c