Commit 0946c42d authored by Johan Dahlin's avatar Johan Dahlin Committed by Alexandre Julliard

Added a null check for component.

parent 10a13949
...@@ -1992,6 +1992,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param) ...@@ -1992,6 +1992,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
component = MSI_RecordGetString(row, 6); component = MSI_RecordGetString(row, 6);
comp = get_loaded_component(package,component); comp = get_loaded_component(package,component);
if (!comp)
return ERROR_SUCCESS;
if (!ACTION_VerifyComponentForAction(package, comp, INSTALLSTATE_LOCAL)) if (!ACTION_VerifyComponentForAction(package, comp, INSTALLSTATE_LOCAL))
{ {
......
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