mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
Added a null check for component.
This commit is contained in:
parent
10a1394929
commit
0946c42d5a
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user