diff options
author | Nick Clifton <nickc@redhat.com> | 2019-03-14 14:45:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-03-14 14:45:32 +0000 |
commit | be22c732bf873e0c7e8a08564c97cafdfcf153bb (patch) | |
tree | 779aef5992f5920439e815d320be7f2038ace442 /gdb/source-cache.c | |
parent | 3b336828de914a39741339b5341b88aa003d7225 (diff) | |
download | gdb-be22c732bf873e0c7e8a08564c97cafdfcf153bb.zip gdb-be22c732bf873e0c7e8a08564c97cafdfcf153bb.tar.gz gdb-be22c732bf873e0c7e8a08564c97cafdfcf153bb.tar.bz2 |
Fix illegal memory access parsing a corrupt ELF file.
PR 24332
* elflink.c (elf_link_add_object_symbols): Add new local variable
extversym_end. Initialise it to point to the end of the version
symbol table, if present. Check it when initialising and updating
the ever pointer.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions