Prevent setup from crashing if a section in the INF is empty (no
entries) (this happens when installing IE5).
This commit is contained in:
parent
ae3d4261d5
commit
78f41aeaf7
|
@ -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, ',');
|
||||
|
|
Loading…
Reference in New Issue