[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27853] Infinite loop in dwarf.c:4387-4398
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/27853] Infinite loop in dwarf.c:4387-4398 |
Date: |
Wed, 12 May 2021 06:11:50 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27853
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=55b26492bbd05637f24b9b70a507e842e466b723
commit 55b26492bbd05637f24b9b70a507e842e466b723
Author: Alan Modra <amodra@gmail.com>
Date: Wed May 12 15:11:43 2021 +0930
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.
--
You are receiving this mail because:
You are on the CC list for the bug.