]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winplink.c
Lock down the search path for Windows DLL loading.
[PuTTY.git] / windows / winplink.c
index 99e269fdc106687e7edff5c51fb778ee22d545b7..3b20a0ab36de378124a46b1e6cfdc28339704a06 100644 (file)
@@ -312,6 +312,8 @@ int main(int argc, char **argv)
     int just_test_share_exists = FALSE;
     unsigned long now, next, then;
 
+    dll_hijacking_protection();
+
     sklist = NULL;
     skcount = sksize = 0;
     /*