Re: [Boost-bugs] [Boost C++ Libraries] #11792: Boost convert will dereference empty strings iterators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11792: Boost convert will dereference empty strings iterators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-20 22:01:21


#11792: Boost convert will dereference empty strings iterators
-------------------------------+---------------------
  Reporter: anonymous | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by Vladimir Batov <vbmail247@…>):

 The previous fix still had a problem which unfortunately did not show up
 with gcc and clang. Namely, boost::cnv::cnvbase::str_to_() was potentially
 trying to dereference the end() iterator. If my memory serves me, MSVC is
 strict about it. gcc & clang are lenient in that regard so I did not catch
 it. Hopefully fixed that now. Will monitor in the regression tests.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11792#comment:5>
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:19 UTC