https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114830
Bug ID: 114830 Summary: c++filt stack overflows in rust demangler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- >From zhoug...@mail.zgclab.edu.cn and wan...@mail.zgclab.edu.cn: Hi, we found several crashes in c++filt(Binutils 2.42), which is the latest version. In detail, it contains 12 stack-buffer-overflow triggering methods. To assist in diagnosing and resolving these issues, we have attached the POC files along with the gdb/asan logs. Environment: Linux 4f6b99b5cf37 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Credit by: Wang Dawei and Zhou Geng, from Zhongguancun Laboratory. Thanks for your time and attention to these matters. Best regards, Zhou Geng