瀏覽代碼

DLL hijacking protection

Source commit: e46306ecbcb03ab6b8cb10ee5c59758f85f0e610
Martin Prikryl 3 年之前
父節點
當前提交
fca66afa3b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      source/WinSCP.cpp

+ 2 - 0
source/WinSCP.cpp

@@ -17,6 +17,8 @@ USEFORM("forms\ScpExplorer.cpp", ScpExplorerForm);
 //---------------------------------------------------------------------------
 WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)
 {
+  AddStartupSequence(L"M");
+  DllHijackingProtection();
   AddStartupSequence(L"T");
   int Result = 0;
   try