https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bd7b0c96c6c00b51a423b5b1a82ff541a7eee5fa

commit bd7b0c96c6c00b51a423b5b1a82ff541a7eee5fa
Author:     Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Wed May 8 20:39:57 2019 +0200
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Wed May 8 20:39:57 2019 +0200

    [BASESRV] Make Buffer MAX_PATH big again
---
 subsystems/win/basesrv/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subsystems/win/basesrv/init.c b/subsystems/win/basesrv/init.c
index 84b24f38db..6b93f29f9c 100644
--- a/subsystems/win/basesrv/init.c
+++ b/subsystems/win/basesrv/init.c
@@ -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%");

Reply via email to