mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
allocate memory for the string. thanks to thomas for finding it.
svn path=/trunk/; revision=18233
This commit is contained in:
parent
b736dee2b9
commit
f04df80d72
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ BOOL DeleteFolder(LPTSTR FileName)
|
|||
}
|
||||
INT cmd_rmdir (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
LPTSTR dir; /* pointer to the directory to change to */
|
||||
TCHAR dir[MAX_PATH]; /* pointer to the directory to change to */
|
||||
char ch;
|
||||
INT args;
|
||||
LPTSTR *arg = NULL;
|
||||
|
|
Loading…
Reference in a new issue