[Bug c++/87241] New: A hang problem for c++filt

2018-09-05 Thread poppeter1982 at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: poppeter1982 at gmail dot com Target Milestone: --- Created attachment 44665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44665&action=edit The proof of concept ASCII file for c++filt Hi There Our fuzzer generates an input wh

[Bug c++/87241] A hang problem for c++filt

2018-09-06 Thread poppeter1982 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87241 --- Comment #2 from Li Peng --- (In reply to Jonathan Wakely from comment #1) > __cxa_demangle in cp-demangle.c correctly returns -2 (the mangled name is > not valid) but cplus_demangle in cplus-dem.c tries to allocate crazy amounts > of memory.

[Bug c++/87340] New: Stack overflow problem for c++filt

2018-09-17 Thread poppeter1982 at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: poppeter1982 at gmail dot com Target Milestone: --- Created attachment 44709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44709&action=edit PoCs to demonstrate segfaults of c++filt Hi There Our fuzzer caught stack ov