Prevent illegal memory access when processing COFF auxillary symbol information.
authorNick Clifton <nickc@redhat.com>
Thu, 23 Aug 2018 10:45:38 +0000 (11:45 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 23 Aug 2018 10:45:38 +0000 (11:45 +0100)
commit334d4ced42d3d54a70a19f1323ff41c5a5f4ff5e
tree576737b73ff9722702d9c38ea4d56f1df000cb9b
parentd0abeec8d45514fbec790f27e3cadceb576df9b5
Prevent illegal memory access when processing COFF auxillary symbol information.

PR 23061
* coffgen.c (coff_pointerize_aux): Add table_end parameter.  Use
it to prevent walking off the end of the table.
(coff_get_normalized_symtab): Pass internal_end pointer to
coff_pointerize_aux.
bfd/ChangeLog
bfd/coffgen.c