Skip to content

msvcrt: Don't release io memory in msvcrt_free_io.

Yuxuan Shui requested to merge yshui/wine:msvcrt-stdioinfo-uafv2 into master

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 (closed)

Merge request reports

Loading