Boost C++ Libraries: Ticket #13516: crash in boost regex https://svn.boost.org/trac10/ticket/13516 <p> Using a specific search and replace expression containing named tags causes boost regex to crash. The pull request at <a class="ext-link" href="https://github.com/boostorg/regex/pull/60/commits/124dd8d0d9c636436115ec988058a551c5fa39eb"><span class="icon">​</span>https://github.com/boostorg/regex/pull/60/commits/124dd8d0d9c636436115ec988058a551c5fa39eb</a> turns the crash into a regex exception. Attaching the search/replace expression and the file they are used on. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13516 Trac 1.4.3 Aron Pongo <aron@…> Mon, 09 Apr 2018 13:54:15 GMT attachment set https://svn.boost.org/trac10/ticket/13516 https://svn.boost.org/trac10/ticket/13516 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">find_expression.txt</span> </li> </ul> Ticket Aron Pongo <aron@…> Mon, 09 Apr 2018 13:54:24 GMT attachment set https://svn.boost.org/trac10/ticket/13516 https://svn.boost.org/trac10/ticket/13516 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">replace_expression.txt</span> </li> </ul> Ticket Aron Pongo <aron@…> Mon, 09 Apr 2018 13:54:36 GMT attachment set https://svn.boost.org/trac10/ticket/13516 https://svn.boost.org/trac10/ticket/13516 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">text_to_search.txt</span> </li> </ul> Ticket Aron Pongo <aron@…> Mon, 09 Apr 2018 16:13:38 GMT attachment set https://svn.boost.org/trac10/ticket/13516 https://svn.boost.org/trac10/ticket/13516 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">example.cc</span> </li> </ul> Ticket Aron Pongo <aron@…> Mon, 09 Apr 2018 16:21:06 GMT <link>https://svn.boost.org/trac10/ticket/13516#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13516#comment:1</guid> <description> <p> Attaching example.cc to show the problem. It looks like the crash is only happening if boost::u32regex is used. Using wide strings instead of strings makes the crash go away on OSX, but not on Windows. Both crash with regular strings. </p> <p> A note to the pull request: it does not fix the problem, it just prevents boost from crashing. </p> </description> <category>Ticket</category> </item> </channel> </rss>