Re: [Boost-bugs] [Boost C++ Libraries] #4286: regex - making a pointer to an invalid dereferenced iterator.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4286: regex - making a pointer to an invalid dereferenced iterator.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-04 16:14:12


#4286: regex - making a pointer to an invalid dereferenced iterator.
-------------------------------------+--------------------------------------
 Reporter: CharlesPenny@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: regex
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------

Comment(by johnmaddock):

 The code should be correct: it creates a string that is ++bytes long and
 consists entirely of the null character. So begin() != end().

 I can't reproduce this here, can you let me have a self contained test
 case?

 Also can you check that you're not mixing different values for
 _HAS_ITERATOR_DEBUGGING and _SECURE_SCL in different translation units
 (for example in your source and the regex lib). Doing this will cause
 strange failures like this to occur.

 HTH, John.

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