PATCH: fix setupapi bug
mehmet yasar
myasar at free.fr
Wed Mar 6 04:57:51 CST 2002
Hi,
Here a patch to prevent setup from crashing if a section in the INF
is empty (no entries) (this happens when installing IE5).
I hope this is the correct fix.
--------------------
diff -ur CVS/wine/dlls/setupapi/setupx_main.c
wine/wine/dlls/setupapi/setupx_main.c
--- CVS/wine/dlls/setupapi/setupx_main.c Wed Sep 19 22:34:17 2001
+++ wine/wine/dlls/setupapi/setupx_main.c Wed Mar 6 10:06:37 2002
@@ -1119,6 +1119,7 @@
/* entry wasn't a single file, so let's iterate over section */
pFileEntries = SETUPX_GetSectionEntries(filename, pCopyEntry);
+
if (pFileEntries == NULL) continue;
for (p=pFileEntries; *p; p +=strlen(p)+1)
{
pSubFile = SETUPX_GetSubStrings(p, ',');
More information about the wine-patches
mailing list