[Bug c++/87335] The stack overflow in function cplus_demangle_type in cp-demangle.c:2565 (c++filt -t)
wcventure at 126 dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 18 08:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335
--- Comment #2 from Cheng Wen <wcventure at 126 dot com> ---
(In reply to Martin Liška from comment #1)
> Is the input a valid C++ mangled name of not?
Hi,
This input is obtained through fuzzing technology. Our fuzzer get some test
cases by mutating a valid input. This can not guarantee that this is a valid
C++ mangled name.
The program c++filt accepts the test case I uploaded. And this test case can
prove that c++filt have problems. When program c++filt executing this input, a
stack-overflow problem occurs. Please check this input and try to fix this bug
if necessary.
Thank you very much.
More information about the Gcc-bugs
mailing list