reg: Fail if the separator for REG_MULTI_SZ is not one character in length.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5a2ddc8d25
commit
8a902f3761
|
@ -579,7 +579,7 @@ int wmain(int argc, WCHAR *argvW[])
|
|||
{
|
||||
WCHAR *ptr = argvW[++i];
|
||||
|
||||
if (!ptr)
|
||||
if (!ptr || strlenW(ptr) != 1)
|
||||
{
|
||||
output_message(STRING_INVALID_CMDLINE);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue