Fix illegal memory access when parsing a corrupt PE format file.
authorNick Clifton <nickc@redhat.com>
Fri, 30 Apr 2021 11:11:35 +0000 (12:11 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 30 Apr 2021 11:11:35 +0000 (12:11 +0100)
commitbceb87ef4da7948eb9f39584fb5b4a62f9ed4846
treeae2633884fa07dec3bcc5ed5a25e78d29e9de9f0
parent5536f0cc62309de740e678da87c11039dd7bfb35
Fix illegal memory access when parsing a corrupt PE format file.

PR 27795
* coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Check for invalid name
lengths.
bfd/ChangeLog
bfd/coff-rs6000.c