]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Fix illegal memory accesses when parsing a corrupt SOM format file.
authorNick Clifton <nickc@redhat.com>
Thu, 29 Apr 2021 16:41:43 +0000 (17:41 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Apr 2021 16:41:43 +0000 (17:41 +0100)
commit063e75c9e4307d21b787a71b6d5b61a2560f5073
tree654ec96b82519cdc9a82f1b976507bf9cc6f693e
parent89ba430c6b4cba43a2e77fe9a103e26e6c96bc12
Fix illegal memory accesses when parsing a corrupt SOM format file.

PR 27792
* som.c (som_slurp_string_table): Place a terminating NUL byte at
the end of the table.
(som_slurp_symbol_table): Check for an over-large offset into the
string string table.
bfd/ChangeLog
bfd/som.c