[BASESRV] Make Buffer MAX_PATH big again
authorPierre Schweitzer <pierre@reactos.org>
Wed, 8 May 2019 18:39:57 +0000 (20:39 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 8 May 2019 18:39:57 +0000 (20:39 +0200)
subsystems/win/basesrv/init.c

index 84b24f3..6b93f29 100644 (file)
@@ -291,7 +291,7 @@ BaseInitializeStaticServerData(IN PCSR_SERVER_DLL LoadedServerDll)
     NTSTATUS Status;
     BOOLEAN Success;
     WCHAR BnoBuffer[100];
-    WCHAR Buffer[100];
+    WCHAR Buffer[MAX_PATH];
     PWCHAR HeapBuffer;
     UNICODE_STRING SystemRootString;
     UNICODE_STRING UnexpandedSystemRootString = RTL_CONSTANT_STRING(L"%SystemRoot%");