https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105115
Bug ID: 105115 Summary: `demangle_const` causes infinite recursion and stack overflow Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ronghua at iu dot edu Target Milestone: --- Created attachment 52721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52721&action=edit output.txt is output of ASAN, and inf-recursion is the poc At commit `b8e92c571baed4e794bd62b7bf417fa8bbaf5c95` of `binutils-gdb`, the given poc can produces crash on `cxxfilt`: build2/binutils/cxxfilt < inf-recursion