[Boost-bugs] [Boost C++ Libraries] #7157: [lexical_cast] convert volatile int to string cause Run-Time Check Failure #2

Subject: [Boost-bugs] [Boost C++ Libraries] #7157: [lexical_cast] convert volatile int to string cause Run-Time Check Failure #2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-20 20:39:53


#7157: [lexical_cast] convert volatile int to string cause Run-Time Check Failure
#2
-----------------------------------+----------------------------------------
 Reporter: pavel.korzh@… | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.50.0 | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------
 The following code produces a Run-Time Check Failure 2 - Stack around the
 variable 'buf' was corrupted, if compiled with MSVC2008:
 {{{
 #include "boost/lexical_cast.hpp"

 int main()
 {
   volatile boost::uint32_t n = 10;
   std::string str = boost::lexical_cast<std::string>(n);
   return 0;
 }
 }}}

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