This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/65470] regex_search corrupts matches when haystack is destroyed


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65470

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your program's invalid for other reasons too, you can't mix strdup and delete.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]