aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-09-26 14:37:47 +0100
committerNick Clifton <nickc@redhat.com>2017-09-26 14:37:47 +0100
commit30d0157a2ad64e64e5ff9fcc0dbe78a3e682f573 (patch)
tree1e50d97c37058f5709f64f5683a017591a438126 /gdb/utils.c
parent281c4447738409888d9659924937da182a65b4e1 (diff)
downloadbinutils-30d0157a2ad64e64e5ff9fcc0dbe78a3e682f573.zip
binutils-30d0157a2ad64e64e5ff9fcc0dbe78a3e682f573.tar.gz
binutils-30d0157a2ad64e64e5ff9fcc0dbe78a3e682f573.tar.bz2
Avoid needless resource usage when processing a corrupt DWARF directory or file name table.
PR 22210 * dwarf2.c (read_formatted_entries): Fail early if we know that the loop parsing data entries will overflow the end of the section.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions