Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90a9698f
Commit
90a9698f
authored
May 26, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
May 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ver: curdirlen and destdirlen are in&out parameters (Coverity).
parent
d82de9b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
version.c
dlls/ver.dll16/version.c
+16
-4
No files found.
dlls/ver.dll16/version.c
View file @
90a9698f
...
...
@@ -494,11 +494,23 @@ DWORD WINAPI VerFindFile16( UINT16 flags, LPSTR lpszFilename,
LPSTR
lpszDestDir
,
UINT16
*
lpuDestDirLen
)
{
UINT
curDirLen
,
destDirLen
;
DWORD
retv
=
VerFindFileA
(
flags
,
lpszFilename
,
lpszWinDir
,
lpszAppDir
,
lpszCurDir
,
&
curDirLen
,
lpszDestDir
,
&
destDirLen
)
;
UINT
*
pcurDirLen
=
NULL
,
*
pdestDirLen
=
NULL
;
DWORD
retv
;
*
lpuCurDirLen
=
(
UINT16
)
curDirLen
;
*
lpuDestDirLen
=
(
UINT16
)
destDirLen
;
if
(
lpuCurDirLen
)
{
curDirLen
=
*
lpuCurDirLen
;
pcurDirLen
=
&
curDirLen
;
}
if
(
lpuDestDirLen
)
{
destDirLen
=
*
lpuDestDirLen
;
pdestDirLen
=
&
destDirLen
;
}
retv
=
VerFindFileA
(
flags
,
lpszFilename
,
lpszWinDir
,
lpszAppDir
,
lpszCurDir
,
pcurDirLen
,
lpszDestDir
,
pdestDirLen
);
if
(
lpuCurDirLen
)
*
lpuCurDirLen
=
(
UINT16
)
curDirLen
;
if
(
lpuDestDirLen
)
*
lpuDestDirLen
=
(
UINT16
)
destDirLen
;
return
retv
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment