]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winsftp.c
Lock down the search path for Windows DLL loading.
[PuTTY.git] / windows / winsftp.c
index c786f7a65d686d65d165391674e878ed42fd7e91..7b08970f62ca3e16c54f2a1b02742e4042c9057f 100644 (file)
@@ -773,6 +773,8 @@ int main(int argc, char *argv[])
 {
     int ret;
 
+    dll_hijacking_protection();
+
     ret = psftp_main(argc, argv);
 
     return ret;