Subject: [Boost-bugs] [Boost C++ Libraries] #7032: Prevent tool Bug Fix.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-27 07:10:33
#7032: Prevent tool Bug Fix.
---------------------------------+------------------------------------------
Reporter: g.gupta@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
Version: Boost 1.50.0 | Severity: Problem
Keywords: |
---------------------------------+------------------------------------------
In file boost_1_50_0_beta1/libs/regex/src/regex_raw_buffer.cpp
std::memcpy(ptr, start, datasize);
If start is NULL but datasize is not zero, then it is a segmentation
fault.This is a rare situation but can happen in some scenario.
Attached patch is the fix for it. This problem also persists in latest
beta code.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7032> 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:09 UTC