Subject: [Boost-bugs] [Boost C++ Libraries] #2296: Xpressive walking past the end of string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-07 21:55:08
#2296: Xpressive walking past the end of string
--------------------------------------------------+-------------------------
Reporter: Simon Steele <s.steele_at_[hidden]> | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: xpressive
Version: Boost 1.36.0 | Severity: Problem
Keywords: |
--------------------------------------------------+-------------------------
The following test code triggers an assertion in std::string::operator ++
under VC 8:
{{{
string s("> \"\" ");
string exp("(?P<f>.+):(?P<l>[0-9]+):((?P<c>[0-9]+):)?.*");
sregex re = sregex::compile(exp);
regex_search(s, re);
}}}
The previous call in the stack is boost::next, called from
simple_repeat_matcher.hpp at line 181, right below a BUGBUG comment!
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2296> 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-02-16 18:49:58 UTC