11 Jun
2025
11 Jun
'25
10:44 p.m.
In kernel32/tests/loader.c, child_process will try to write to stdout after calling LdrShutdownProcess. LdrShutdownProcess calls DLL_PROCESS_DETACH on msvcrt, which calls msvcrt_free_io, which frees the ioinfo blocks. So to prevent use after free in this case, we don't free them. * * * Supersedes !8273 -- v4: msvcrt: Don't release io memory in msvcrt_free_io during shutdown. https://gitlab.winehq.org/wine/wine/-/merge_requests/8288