Re: [Boost-bugs] [Boost C++ Libraries] #2970: Out of boundary access with STLport

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2970: Out of boundary access with STLport
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-18 15:13:19


#2970: Out of boundary access with STLport
---------------------------+------------------------------------------------
  Reporter: Jazz | Owner: nasonov
      Type: Bugs | Status: closed
 Milestone: Boost 1.39.0 | Component: lexical_cast
   Version: Boost 1.38.0 | Severity: Problem
Resolution: invalid | Keywords:
---------------------------+------------------------------------------------
Changes (by anonymous):

  * status: new => closed
  * resolution: => invalid

Comment:

 Replying to [comment:3 eckhardt]:
> Now, what I still don't know is what exactly you are seeing. Is
 STLport's debug mode throwing an out-of-bounds access or is something else
 failing? Can you provide some code that fails?

 In this code, when str is "1024", sometime it returned 1024, sometime 1 :

 {{{boost::lexical_cast< unsigned >( str );}}}

 The change I provided fixed that.

> Lastly, STLport 5.0.0 was released 2005-11-02! That's almost four years
 ago! Further, since I partially maintained the STLport port to MS Windows
 CE, I know that there is actually a test-case for the above behaviour,
 though I'm not sure when exactly the test was added and (possibly) the
 behaviour fixed. If I were you, I would consider upgrading, at least to
 the last 5.0 release. OTOH, current compilers usually come with a well-
 working C++ stdlib, so just using the native one would make things easier
 generally.

 Probably we should upgrade STLPort. We are using STLPort in a cross-
 platform project, and on some platforms some features are not available
 with the C++ compiler.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2970#comment:4>
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:00 UTC