diff options
author | Nick Clifton <nickc@redhat.com> | 2017-08-31 17:03:23 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-08-31 17:03:23 +0100 |
commit | e4f2723003859dc6b33ca0dadbc4a7659ebf1643 (patch) | |
tree | 75023919c7425a0fe3d2c5854fb3638a2490dc17 /gdb/common | |
parent | b55f3386e45d8ba4af1a70f0684bc0089060d600 (diff) | |
download | gdb-e4f2723003859dc6b33ca0dadbc4a7659ebf1643.zip gdb-e4f2723003859dc6b33ca0dadbc4a7659ebf1643.tar.gz gdb-e4f2723003859dc6b33ca0dadbc4a7659ebf1643.tar.bz2 |
Fix buffer read overrun by ensuring that DWARF sections containing strings always end in a NUL byte.
PR 22047
* dwarf2.c (read_section): If necessary add a terminating NUL byte
to dwarf string sections.
Diffstat (limited to 'gdb/common')
0 files changed, 0 insertions, 0 deletions