[NTOS:CM] Reduce the size of some unnecessarily large stack buffers. CORE-15882

This commit is contained in:
Thomas Faber 2019-04-17 10:31:34 +02:00
parent 047a3bf79a
commit 2f1fab41fa
No known key found for this signature in database
GPG Key ID: 076E7C3D44720826

View File

@ -1191,7 +1191,7 @@ VOID
NTAPI
CmpLoadHiveThread(IN PVOID StartContext)
{
WCHAR FileBuffer[MAX_PATH], RegBuffer[MAX_PATH];
WCHAR FileBuffer[64], RegBuffer[64];
PCWSTR ConfigPath;
UNICODE_STRING TempName, FileName, RegName;
ULONG i, ErrorResponse, WorkerCount, Length;
@ -1357,7 +1357,7 @@ VOID
NTAPI
CmpInitializeHiveList(VOID)
{
WCHAR FileBuffer[MAX_PATH], RegBuffer[MAX_PATH];
WCHAR FileBuffer[64], RegBuffer[64];
PCWSTR ConfigPath;
UNICODE_STRING TempName, FileName, RegName;
HANDLE Thread;