[FONT][WIN32SS] Check whether Win32Process is NULL

CORE-15031
This commit is contained in:
Stanislav Motylkov 2018-09-13 14:37:20 +03:00 committed by Mark Jansen
parent 7cdbdadf34
commit bac15d86bb

View file

@ -426,6 +426,9 @@ VOID DumpPrivateFontList(BOOL bDoLock)
{
PPROCESSINFO Win32Process = PsGetCurrentProcessWin32Process();
if (!Win32Process)
return;
if (bDoLock)
IntLockProcessPrivateFonts(Win32Process);