Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of comman...
authorMagnus Olsen <magnus@greatlord.com>
Tue, 9 Aug 2005 19:52:16 +0000 (19:52 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Tue, 9 Aug 2005 19:52:16 +0000 (19:52 +0000)
svn path=/trunk/; revision=17250

reactos/subsys/system/cmd/cmd.c

index a71cfd6..24b8876 100644 (file)
@@ -296,9 +296,9 @@ static VOID
 Execute (LPTSTR Full, LPTSTR First, LPTSTR Rest)
 {
        TCHAR szFullName[MAX_PATH];
-       TCHAR first[MAX_PATH];
-       TCHAR rest[MAX_PATH];
-       TCHAR full[MAX_PATH];
+       TCHAR first[CMDLINE_LENGTH];
+       TCHAR rest[CMDLINE_LENGTH];
+       TCHAR full[CMDLINE_LENGTH];
 #ifndef __REACTOS__
        TCHAR szWindowTitle[MAX_PATH];
 #endif