Re: [Boost-bugs] [Boost C++ Libraries] #9218: Invalid pointer dereference on MSVC debug builds

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9218: Invalid pointer dereference on MSVC debug builds
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-10 01:05:25


#9218: Invalid pointer dereference on MSVC debug builds
---------------------------------------+--------------------------------
  Reporter: Gavin Lambert <gavinl@…> | Owner: timblechmann
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: lockfree
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords: windows msvc debug
---------------------------------------+--------------------------------

Comment (by Gavin Lambert <gavinl@…>):

 Note that the attached patch changes it unconditionally. If you really
 want to leave it uninitialised for performance you could slap some #if
 checks around it for MSVC and _DEBUG. But this might leave it vulnerable
 if some other compilers do something similar.

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