diff options
author | Nick Clifton <nickc@redhat.com> | 2017-09-27 10:42:51 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-09-27 10:42:51 +0100 |
commit | 19485196044b2521af979f1e5c4a89bfb90fba0b (patch) | |
tree | 5778ce66c09d82b8b957ad276b136fd9e3ff1498 /binutils/dlltool.c | |
parent | 6bd6a03d6975a96802b37741a99644570e52a72b (diff) | |
download | gdb-19485196044b2521af979f1e5c4a89bfb90fba0b.zip gdb-19485196044b2521af979f1e5c4a89bfb90fba0b.tar.gz gdb-19485196044b2521af979f1e5c4a89bfb90fba0b.tar.bz2 |
Prevent an infinite loop in the DWARF parsing code when encountering a CU structure with a small negative size.
PR 22219
* dwarf.c (process_debug_info): Add a check for a negative
cu_length field.
Diffstat (limited to 'binutils/dlltool.c')
0 files changed, 0 insertions, 0 deletions