aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-07-19 11:07:43 +0100
committerNick Clifton <nickc@redhat.com>2017-07-19 11:07:43 +0100
commit29866fa186ee3ebda5242221607dba360b2e541e (patch)
tree16222acf2442a202e45e4e06800fe3ba1e8c9c84 /ld
parent70b448ba7c521d6e0881f38aaf20d330fe510716 (diff)
downloadgdb-29866fa186ee3ebda5242221607dba360b2e541e.zip
gdb-29866fa186ee3ebda5242221607dba360b2e541e.tar.gz
gdb-29866fa186ee3ebda5242221607dba360b2e541e.tar.bz2
Fix address violation when attempting to read a corrupt field in a COFF archive header structure.
PR 21786 * coff-rs6000.c (_bfd_strntol): New function. (_bfd_strntoll): New function. (GET_VALUE_IN_FIELD): New macro. (EQ_VALUE_IN_FIELD): new macro. (_bfd_xcoff_slurp_armap): Use new macros. (_bfd_xcoff_archive_p): Likewise. (_bfd_xcoff_read_ar_hdr): Likewise. (_bfd_xcoff_openr_next_archived_file): Likewise. (_bfd_xcoff_stat_arch_elt): Likewise.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions