reslen could be used uninitialised in GetFileResource32 (fixes some
strange VerQueryValue crashes).
This commit is contained in:
parent
6563cc8a23
commit
e233d1ae3f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue