Re: [Boost-bugs] [Boost C++ Libraries] #7032: Prevent tool Bug Fix.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7032: Prevent tool Bug Fix.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-28 10:50:16


#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
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by anonymous):

 Can you illustrate how you think this can ever come about - it would be a
 breach of raw_storage's invariants for this to occur.

 So either: constructor raw_storage(n) has failed to allocate memory - in
 which case existing assert in constructor should have failed. Or
 Previous call to raw_storage::resize failed to allocate memory in which
 case existing assert should have failed.

 Of course adding the extra assert doesn't harm, I'm just not sure that it
 actually does what you think ;-)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7032#comment:1>
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