]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winpgnt.c
Lock down the search path for Windows DLL loading.
[PuTTY.git] / windows / winpgnt.c
index 86998a2bb49127c90e04ce8ce75c435335a23d5f..06c5fac15d8316a92a475852033d88ed0e30c4c8 100644 (file)
@@ -1072,6 +1072,8 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
     int argc, i;
     char **argv, **argstart;
 
+    dll_hijacking_protection();
+
     hinst = inst;
     hwnd = NULL;