André Hentschel : msi: Fix crash with access to component.
Alexandre Julliard
julliard at winehq.org
Tue Feb 2 10:45:27 CST 2010
Module: wine
Branch: master
Commit: 3299bfd4714821ed168afbb3d122354ae405f02f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3299bfd4714821ed168afbb3d122354ae405f02f
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Jan 30 14:01:58 2010 +0100
msi: Fix crash with access to component.
---
dlls/msi/files.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 7e74dca..b7af4d3 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;
}
More information about the wine-cvs
mailing list