From: Stanislav Motylkov Date: Thu, 13 Sep 2018 11:37:20 +0000 (+0300) Subject: [FONT][WIN32SS] Check whether Win32Process is NULL X-Git-Tag: 0.4.12-dev~802 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=bac15d86bb3c49796c03f601d76090099deb4cac [FONT][WIN32SS] Check whether Win32Process is NULL CORE-15031 --- diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c index 75f3fd506cf..3d53dac22ea 100644 --- a/win32ss/gdi/ntgdi/freetype.c +++ b/win32ss/gdi/ntgdi/freetype.c @@ -426,6 +426,9 @@ VOID DumpPrivateFontList(BOOL bDoLock) { PPROCESSINFO Win32Process = PsGetCurrentProcessWin32Process(); + if (!Win32Process) + return; + if (bDoLock) IntLockProcessPrivateFonts(Win32Process);