Prevent illegal memory accesses when attempting to read excessively large COFF line...
authorNick Clifton <nickc@redhat.com>
Wed, 1 Nov 2017 15:21:46 +0000 (15:21 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 1 Nov 2017 15:21:46 +0000 (15:21 +0000)
commita67d66eb97e7613a38ffe6622d837303b3ecd31d
tree2f13e4423ca125efc505a5aead303fb7f81fe699
parente0115a844607b280449986e661f551dff49a9031
Prevent illegal memory accesses when attempting to read excessively large COFF line number tables.

PR 22376
* coffcode.h (coff_slurp_line_table): Check for an excessively
large line number count.
bfd/ChangeLog
bfd/coffcode.h