[Boost-bugs] [Boost C++ Libraries] #8388: windows_file_codecvt should be allocated with _NEW_CRT

Subject: [Boost-bugs] [Boost C++ Libraries] #8388: windows_file_codecvt should be allocated with _NEW_CRT
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-04 10:08:14


#8388: windows_file_codecvt should be allocated with _NEW_CRT
------------------------------------+---------------------------------------
 Reporter: pedro.larroy@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.53.0
 Severity: Problem | Keywords: _NEW_CRT
------------------------------------+---------------------------------------
 Due to a bug in VC libraries, when allocating windows_file_codecvt it
 should be done with _NEW_CRT instead of new. Otherwise if operator new is
 overriden in the userland application it would be a crash since
 windows_file_codecvt is allocated with the user provided operator new and
 deallocated with delete from the C runtime.

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