Fix buffer overrun found by Coverity
authorGary Benson <gbenson@redhat.com>
Tue, 9 Oct 2018 13:13:12 +0000 (14:13 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 9 Oct 2018 13:13:12 +0000 (14:13 +0100)
commit04fd5eed91c0a960e1706fb627912ad6350ae391
treefa22e7c3085d31fca32e1b76663aa58ecc9a9a09
parent1c2649ed7481881cb963bb53251a79bfb8b1047e
Fix buffer overrun found by Coverity

This commit fixes a buffer overrun found by Coverity, where
36 bytes are written into a 24 byte buffer.

gdb/ChangeLog:

* dwarf2read.c (create_dwp_hash_table): Fix buffer overrun
found by Coverity.
gdb/ChangeLog
gdb/dwarf2read.c