mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
ConvertVersionInfo32To16: the end of the child list may also be marked
by a 0-byte child.
This commit is contained in:
parent
1c32a46d5a
commit
a7580c53c7
@ -243,7 +243,7 @@ void ConvertVersionInfo32To16( VS_VERSION_INFO_STRUCT32 *info32,
|
||||
|
||||
/* Convert children */
|
||||
child16 = VersionInfo16_Children( info16 );
|
||||
while ( (DWORD)child32 < (DWORD)info32 + wLength )
|
||||
while ( (DWORD)child32 < (DWORD)info32 + wLength && child32->wLength != 0 )
|
||||
{
|
||||
VS_VERSION_INFO_STRUCT32 *nextChild = VersionInfo32_Next( child32 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user