version: Prevent infinite looping in VersionInfo32_FindChild.

This commit is contained in:
Lei Zhang 2008-10-13 14:29:32 -07:00 committed by Alexandre Julliard
parent 1b95076308
commit 69871bedf1
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ static const VS_VERSION_INFO_STRUCT32 *VersionInfo32_FindChild( const VS_VERSION
if (!strncmpiW( child->szKey, szKey, cbKey ) && !child->szKey[cbKey])
return child;
if (!(child->wLength)) return NULL;
child = VersionInfo32_Next( child );
}