shell32: Fix parsing empty arguments in parse_dde_command().
This fixes a hang in Microsoft Visual C++ 1.52 installation.
This commit is contained in:
parent
152e72c82c
commit
eb06f99172
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ static DWORD parse_dde_command(HSZ hszTopic, WCHAR *command)
|
|||
else
|
||||
{
|
||||
if (!(p = wcspbrk(command, L",()[]"))) goto error;
|
||||
while (p[-1] == ' ') p--;
|
||||
while (p > command && p[-1] == ' ') p--;
|
||||
}
|
||||
|
||||
new_argv = realloc(argv, (argc + 1) * sizeof(*argv));
|
||||
|
|
Loading…
Add table
Reference in a new issue