[Bug libstdc++/86164] std::regex crashes when matching long lines

maarten at hekkelman dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 18 17:11:08 GMT 2022


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

Maarten L. Hekkelman <maarten at hekkelman dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maarten at hekkelman dot com

--- Comment #13 from Maarten L. Hekkelman <maarten at hekkelman dot com> ---
Too bad this bug has still not been dealt with. And it is even worse that
simply running out of stack space seems to be acceptable. And no, I'm not using
inputs in the form of 27kB, more like just a few hundred characters at most
with quite complex expressions.

Fortunately, it is now very easy to use the boost::regex as a standalone
library as a replacement. But alas, that's still a dependency.


More information about the Gcc-bugs mailing list