Dealing with Tor hardening on Windows properly
While gk is waiting (for something?) in #12426 (moved), Tor needs its security mitigations to be corrected according to https://blogs.microsoft.com/microsoftsecure/2009/08/06/setting-sdl-memory-related-requirements-before-your-application-starts/ before the release. So, adding
HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
if (setdeppolicy) setdeppolicy(1); /* PROCESS_DEP_ENABLE */
if (setdeppolicy) setdeppolicy(3); /* PROCESS_DEP_ENABLE | PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION */
will do the trick.