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-06 06:27:20

#2970: Out of boundary access with STLport
  Reporter: Jazz | Owner: nasonov
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: lexical_cast
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:

Comment(by eckhardt):

 There is pretty little explanation, but it is simply written in the C++
 standard. I guess that this is a compromise made to help migration from
 char* strings, because there you could also access all elements from
 str[0] to str[size] inclusive.

 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?

 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

Ticket URL: <>
Boost C++ Libraries <>
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