Testcase: #include "demangle.h" int main(void) { cplus_demangle("SASDASDFASDF_sdfsdf", DMGL_PARAMS | DMGL_TYPES | DMGL_AUTO); }
I cannot figure out how to fix this bug correctly because we are getting some overflow involved with the integer. Also I cannot figure out how to get c++filt to reproduce this bug. -- Summary: Seg fault in demangler Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29176