Created attachment 11248 [details] The stack overflow poc Hi There Peng Li at Baidu X-Lab found a stack overflow bug in c++filt of the latest binutils code base, I have confirmed it with address sanitizer. Please use the “c++filt < stack_overflow_input ” to reproduce the bug. If you have any questions, please let me know. Please note that I submitted this error through email to bug-binutils@gnu.org, please ignore the previous one. Thanks Peng
Please report this bug on the gcc bugzilla system here: https://gcc.gnu.org/bugzilla/enter_bug.cgi?product=gcc The bug is in the name demangling functions supplied by the libiberty library, which is [art of gcc, not the binutils.