Opened 10 years ago

Last modified 8 years ago

#8388 assigned Bugs

windows_file_codecvt should be allocated with _NEW_CRT

Reported by: pedro.larroy@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.53.0 Severity: Problem
Keywords: _NEW_CRT Cc:

Description

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.

Change History (2)

comment:1 by viboes, 10 years ago

Component: Nonefilesystem
Owner: set to Beman Dawes

comment:2 by Beman Dawes, 8 years ago

Status: newassigned
Note: See TracTickets for help on using tickets.