Commit 70cd6bfb authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Check that the file key is valid before installing the assembly.

parent ed4e0a08
......@@ -5663,6 +5663,11 @@ static UINT ITERATE_PublishAssembly( MSIRECORD *rec, LPVOID param )
/* FIXME: extract all files belonging to this component */
file = msi_find_file(package, comp->KeyPath);
if (!file)
{
ERR("File %s not found\n", debugstr_w(comp->KeyPath));
return ERROR_FUNCTION_FAILED;
}
GetTempPathW(MAX_PATH, path);
......
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