Commit 69871bed authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

version: Prevent infinite looping in VersionInfo32_FindChild.

parent 1b950763
...@@ -664,6 +664,7 @@ static const VS_VERSION_INFO_STRUCT32 *VersionInfo32_FindChild( const VS_VERSION ...@@ -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 );
} }
......
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