Fix a segmentation fault triggered when trying to handle an unresolved PE symbol...
authorNick Clifton <nickc@redhat.com>
Mon, 15 Jun 2015 08:25:26 +0000 (09:25 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 15 Jun 2015 08:25:26 +0000 (09:25 +0100)
commita2a4d60d831e40350d96edd2f1cd55f430d04fd4
tree25a87d9bdb0f892f8499417bdbe490aea3054a4a
parentd025d5e5b57fb59c56aa4d57b7fc138720a8e454
Fix a segmentation fault triggered when trying to handle an unresolved PE symbol with a very long name.

PR ld/18466
* emultempl/pe.em (pe_find_data_imports): Generate an error if a
symbol name is too long to handle.
* emultempl/pep.em (pep_find_data_imports): Likewise.
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em