Commit 78f41aea authored by Mehmet Yasar's avatar Mehmet Yasar Committed by Alexandre Julliard

Prevent setup from crashing if a section in the INF is empty (no

entries) (this happens when installing IE5).
parent ae3d4261
......@@ -1133,6 +1133,7 @@ static BOOL SETUPX_CopyFiles(LPSTR *pSub, HINF16 hInf)
/* 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, ',');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment