[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22210] large loop in read_formatted_entries in dwarf2.c in
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/22210] large loop in read_formatted_entries in dwarf2.c in binutils 2.30(HEAD) |
Date: |
Tue, 26 Sep 2017 13:42:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22210
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |nickc at redhat dot com
Resolution|--- |FIXED
--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Skysider,
Thanks for reporting this problem. As Andreas explained the current code
will handle the corrupt input file correctly, but I also accept your point that
it will use up a lot of CPU resources whilst doing so. So I have checked in a
small patch which causes the read_formatted_entries() function to fail before
starting the loop, if it knows that the loop cannot possibly terminate
successfully.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.