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 /gdb/ada-lang.c | |
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 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions