aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-03-14 17:21:41 +0000
committerNick Clifton <nickc@redhat.com>2019-03-14 17:21:41 +0000
commitd7f848c3b51f01635557ab765f2ba176618e0bf8 (patch)
treefa4b17aa9a406e8b4f69c11981f6337b41cf2c36 /gdb
parent6cc71b820cc70b63711e9d7f584550b56e172b0a (diff)
downloadgdb-d7f848c3b51f01635557ab765f2ba176618e0bf8.zip
gdb-d7f848c3b51f01635557ab765f2ba176618e0bf8.tar.gz
gdb-d7f848c3b51f01635557ab765f2ba176618e0bf8.tar.bz2
Fix a buffer overrun error when attempting to parse corrupt DWARF information.
PR 24334 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field. (save_section_vma): Initialise field to the number of entries in the sec_vma table. (section_vma_same): Check that the number of entries in the sec_vma table matches the number of sections in the bfd.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions