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
46c5eb17
Commit
46c5eb17
authored
Jun 25, 2018
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hnetcfg: GetModuleFileNameW gets characters, not bytes (Coverity).
Signed-off-by:
Marcus Meissner
<
meissner@suse.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e3081c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
policy.c
dlls/hnetcfg/tests/policy.c
+1
-1
No files found.
dlls/hnetcfg/tests/policy.c
View file @
46c5eb17
...
...
@@ -117,7 +117,7 @@ static void test_NetFwAuthorizedApplication(void)
&
IID_INetFwAuthorizedApplication
,
(
void
**
)
&
app
);
ok
(
hr
==
S_OK
,
"got: %08x
\n
"
,
hr
);
hr
=
GetModuleFileNameW
(
NULL
,
image
,
sizeof
(
image
));
hr
=
GetModuleFileNameW
(
NULL
,
image
,
ARRAY_SIZE
(
image
));
ok
(
hr
,
"GetModuleFileName failed: %u
\n
"
,
GetLastError
());
hr
=
INetFwAuthorizedApplication_get_ProcessImageFileName
(
app
,
NULL
);
...
...
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