Opened 10 years ago
Last modified 8 years ago
#8388 assigned Bugs
windows_file_codecvt should be allocated with _NEW_CRT
| Reported by: | 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 , 10 years ago
| Component: | None → filesystem |
|---|---|
| Owner: | set to |
comment:2 by , 8 years ago
| Status: | new → assigned |
|---|
Note:
See TracTickets
for help on using tickets.
