https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
Nick Clifton changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
--- Comment #7 from Nick Clifton ---
Author: nickc
Date: Fri Dec 7 10:33:30 2018
New Revision: 266886
URL: https://gcc.gnu.org/viewcvs?rev=266886&root=gcc&view=rev
Log:
Add a recursion limit to libiberty's demangling code. The limit is enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
--- Comment #6 from Bernhard Kaindl ---
Created attachment 45167
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45167&action=edit
Safe fix: Before copying work, check if the vectors have been allocated. If
not, input wasn't valid.
Fixes CV
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
Bernhard Kaindl changed:
What|Removed |Added
CC||bernhard.kaindl@thalesgroup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
--- Comment #4 from Cheng Wen ---
Yes.
One input test case is "_GLOBAL_$D$__tf30___0__".
Another input test case is "__thunk_0__0__$__H1".
I see that you can you can reproduce this error. Do you know the reason for
this bug?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
--- Comment #2 from Cheng Wen ---
Created attachment 44715
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44715&action=edit
POC2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87350
--- Comment #1 from Cheng Wen ---
Created attachment 44714
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44714&action=edit
POC1