ecad3956
by Yuxuan Shui at 2025-07-01T21:47:38+02:00
msvcrt: Don't release io memory during process shutdown.
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 during shutdown.