Commit 88837b5d authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Bail out if the reg key is empty. This prevents us from writing

garbage to the property table.
parent 8a36f2a3
......@@ -334,6 +334,13 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, BOOL *appFound,
goto end;
}
/* bail out if the registry key is empty */
if (sz == 0)
{
rc = ERROR_SUCCESS;
goto end;
}
switch (regType)
{
case REG_SZ:
......
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