version: Prevent infinite looping in VersionInfo32_FindChild.
This commit is contained in:
parent
1b95076308
commit
69871bedf1
|
@ -664,6 +664,7 @@ static const VS_VERSION_INFO_STRUCT32 *VersionInfo32_FindChild( const VS_VERSION
|
||||||
if (!strncmpiW( child->szKey, szKey, cbKey ) && !child->szKey[cbKey])
|
if (!strncmpiW( child->szKey, szKey, cbKey ) && !child->szKey[cbKey])
|
||||||
return child;
|
return child;
|
||||||
|
|
||||||
|
if (!(child->wLength)) return NULL;
|
||||||
child = VersionInfo32_Next( child );
|
child = VersionInfo32_Next( child );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue