Commit 8a902f37 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Fail if the separator for REG_MULTI_SZ is not one character in length.

parent 5a2ddc8d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment