ver.dll16: filelen is an in/out parameter (Coverity).
This commit is contained in:
parent
8595d70203
commit
e399729462
|
@ -522,7 +522,8 @@ DWORD WINAPI VerInstallFile16( UINT16 flags,
|
||||||
LPSTR lpszSrcDir, LPSTR lpszDestDir, LPSTR lpszCurDir,
|
LPSTR lpszSrcDir, LPSTR lpszDestDir, LPSTR lpszCurDir,
|
||||||
LPSTR lpszTmpFile, UINT16 *lpwTmpFileLen )
|
LPSTR lpszTmpFile, UINT16 *lpwTmpFileLen )
|
||||||
{
|
{
|
||||||
UINT filelen;
|
UINT filelen = *lpwTmpFileLen;
|
||||||
|
|
||||||
DWORD retv = VerInstallFileA( flags, lpszSrcFilename, lpszDestFilename,
|
DWORD retv = VerInstallFileA( flags, lpszSrcFilename, lpszDestFilename,
|
||||||
lpszSrcDir, lpszDestDir, lpszCurDir,
|
lpszSrcDir, lpszDestDir, lpszCurDir,
|
||||||
lpszTmpFile, &filelen);
|
lpszTmpFile, &filelen);
|
||||||
|
|
Loading…
Reference in New Issue