[Boost-bugs] [Boost C++ Libraries] #7758: Regex will create stack error after upgrade of boost

Subject: [Boost-bugs] [Boost C++ Libraries] #7758: Regex will create stack error after upgrade of boost
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-03 13:43:17


#7758: Regex will create stack error after upgrade of boost
------------------------------------+---------------------------------------
 Reporter: david.ecker@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 This regex .*?\r\n(version .*?\r\n) will create a stack error using boost
 1.44 or 1.52. It did work using boost 1.31.

 I used the following method to get the tokens:
 boost::sregex_iterator a_RegIterator( a_InputString.begin(),
 a_InputString.end(), a_Expression, a_RegExMatchFlags );

 Setting the match flag match_single_line will work, too. It looks like the
 error will show up if the input text is rather large (100kb...).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7758>
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:50:11 UTC