[Boost-bugs] [Boost C++ Libraries] #5613: basic_regex class constructor invalid memory read

Subject: [Boost-bugs] [Boost C++ Libraries] #5613: basic_regex class constructor invalid memory read
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-16 05:52:38


#5613: basic_regex class constructor invalid memory read
----------------------------------------------------+-----------------------
 Reporter: Yang Dingning <yangdingning@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
----------------------------------------------------+-----------------------
 Compile and run the following code:

 {{{
 #include <boost/regex.hpp>

 int main()
 {
         boost::regex reg("(\\w++{3})*");
         return 0;
 }
 }}}

 This would cause boost to read from invalid memory and crash the program,
 leading to denial of service.

 The bug has been verified to exist in Boost 1.46.1, and also in trunk code
 as of Jun. 9.

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