Skip to content

[File Locksmith] IPC Writer opens in text mode, corrupts Unicode paths #46949

@crutkas

Description

@crutkas

Bug

std::ofstream(path) in IPC.cpp opens text mode. WCHAR bytes with 0x0A get CR/LF corrupted.
Fix: std::ofstream(path, std::ios::binary)
Found by AI test review fleet

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions