From 88ee639b06d74ae24c70a2228a94d6d31215697d Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 7 Aug 2015 16:28:49 +0000 Subject: [PATCH] [WINLOGON] - Load sfc_os.dll because applications have a tendency to create remote threads in winlogon with sfc_os function pointers, assuming that it is loaded. See https://bitsum.com/aboutwfp.asp CORE-9598 #resolve svn path=/trunk/; revision=68615 --- reactos/base/system/winlogon/winlogon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/base/system/winlogon/winlogon.c b/reactos/base/system/winlogon/winlogon.c index 4b7bf626ca6..6c99f394aa5 100644 --- a/reactos/base/system/winlogon/winlogon.c +++ b/reactos/base/system/winlogon/winlogon.c @@ -457,6 +457,8 @@ WinMain( else PostMessageW(WLSession->SASWindow, WLX_WM_SAS, WLX_SAS_TYPE_CTRL_ALT_DEL, 0); + (void)LoadLibraryW(L"sfc_os.dll"); + /* Tell kernel that CurrentControlSet is good (needed * to support Last good known configuration boot) */ NtInitializeRegistry(CM_BOOT_FLAG_ACCEPTED | 1);