From 3299bfd4714821ed168afbb3d122354ae405f02f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Sat, 30 Jan 2010 14:01:58 +0100 Subject: [PATCH] msi: Fix crash with access to component. --- dlls/msi/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 7e74dca969..b7af4d3941 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -365,7 +365,8 @@ static UINT ITERATE_DuplicateFiles(MSIRECORD *row, LPVOID param) debugstr_w(component)); /* the action taken was the same as the current install state */ - comp->Action = comp->Installed; + if (comp) + comp->Action = comp->Installed; return ERROR_SUCCESS; } -- 2.33.8