Commit e233d1ae authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

reslen could be used uninitialised in GetFileResource32 (fixes some

strange VerQueryValue crashes).
parent 6563cc8a
......@@ -289,7 +289,7 @@ DWORD WINAPI GetFileResource32( LPCSTR lpszFileName,
BOOL32 retv = FALSE;
HFILE32 lzfd;
OFSTRUCT ofs;
DWORD reslen;
DWORD reslen = dwResLen;
TRACE( ver, "(%s,type=0x%lx,id=0x%lx,off=%ld,len=%ld,data=%p)\n",
debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId,
......
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