[Boost-bugs] [Boost C++ Libraries] #13126: regex with ICU crashes with named sub-expressions

Subject: [Boost-bugs] [Boost C++ Libraries] #13126: regex with ICU crashes with named sub-expressions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-07-17 00:04:06


#13126: regex with ICU crashes with named sub-expressions
------------------------------+--------------------------
 Reporter: anonymous | Owner: John Maddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.64.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 In "icu.hpp" regex match/search wrappers use internal match_results object
 instead of the one passed in the args. On success the results are copied,
 but the named sub-expressions pointer (shared with the regex object) is
 not copied. This pointer is not checked for validity in the methods
 accessing named sub-expressions.\\
 Client code using named sub-expressions will crash with ICU wrappers (but
 work fine without them).

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13126>
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-07-17 00:07:50 UTC