Skip to content
Snippets Groups Projects
Commit e233d1ae authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

reslen could be used uninitialised in GetFileResource32 (fixes some

strange VerQueryValue crashes).
parent 6563cc8a
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment