diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-12 15:11:43 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-12 15:41:10 +0930 |
commit | 55b26492bbd05637f24b9b70a507e842e466b723 (patch) | |
tree | 2941b78c943f601f7b0b23b22fb9d572bfe886f6 /binutils/dep-in.sed | |
parent | 5ab3907543816d62a8dfd0f7f342ae66814bb0eb (diff) | |
download | gdb-55b26492bbd05637f24b9b70a507e842e466b723.zip gdb-55b26492bbd05637f24b9b70a507e842e466b723.tar.gz gdb-55b26492bbd05637f24b9b70a507e842e466b723.tar.bz2 |
PR27853, Infinite loop in dwarf.c
Not quite infinite but much longer than it need be. The problem is
triggered by read_and_display_attr_value incrementing "data" past
"end". read_and_display_attr_value shouldn't do that, but be
defensive.
PR 27853
* dwarf.c (display_formatted_table): Test for data >= end rather
than data == end.
(process_extended_line_op): Likewise.
(display_debug_lines_raw): Likewise.
(display_debug_lines_decoded): Likewise.
Diffstat (limited to 'binutils/dep-in.sed')
0 files changed, 0 insertions, 0 deletions