Added a null check for component.

This commit is contained in:
Johan Dahlin 2005-08-24 10:57:27 +00:00 committed by Alexandre Julliard
parent 10a1394929
commit 0946c42d5a

View File

@ -1992,6 +1992,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
component = MSI_RecordGetString(row, 6);
comp = get_loaded_component(package,component);
if (!comp)
return ERROR_SUCCESS;
if (!ACTION_VerifyComponentForAction(package, comp, INSTALLSTATE_LOCAL))
{