diff options
author | Nick Clifton <nickc@redhat.com> | 2021-04-29 17:41:43 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-04-29 17:41:43 +0100 |
commit | 063e75c9e4307d21b787a71b6d5b61a2560f5073 (patch) | |
tree | 654ec96b82519cdc9a82f1b976507bf9cc6f693e /bfd/ChangeLog | |
parent | 89ba430c6b4cba43a2e77fe9a103e26e6c96bc12 (diff) | |
download | gdb-063e75c9e4307d21b787a71b6d5b61a2560f5073.zip gdb-063e75c9e4307d21b787a71b6d5b61a2560f5073.tar.gz gdb-063e75c9e4307d21b787a71b6d5b61a2560f5073.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 47b9c91..3144a72 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2021-04-29 Nick Clifton <nickc@redhat.com> + + 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. + 2021-04-28 Nick Clifton <nickc@redhat.com> * elf.c (_bfd_elf_maybe_function_sym): Do not accept annobin |