Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13081: Xpressive crashes in release if auto keyword used.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-18 21:31:41
#13081: Xpressive crashes in release if auto keyword used.
---------------------------------------------+--------------------------
Reporter: Evgeny Yashin <johny5.coder@â¦> | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: To Be Determined | Component: xpressive
Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------+--------------------------
Comment (by Evgeny Yashin <johny5.coder@â¦>):
{{{
This code.
#include "boost/xpressive/xpressive.hpp"
int main()
{
using namespace boost::xpressive;
auto scheme = (s1 = +_w) >> "://";
auto host_ipv6 = (s2 = ('[' >> +(xdigit | ':') >> ']'));
cregex uri_re = scheme >> host_ipv6;
cmatch m;
if( regex_match( "http://[fe::]", m, uri_re ) )
{
std::string protocol = m[1];
protocol = protocol;
}
return 0;
}
}}}
Crashes with access violation to random address. Visual Studio 2015
RELEASE builds only (for both 32/64 bit builds).
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13081#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-06-18 21:38:11 UTC