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
286dc62e
Commit
286dc62e
authored
Mar 24, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Always initialise the out buffer in svcctl_QueryServiceStatusEx and…
services: Always initialise the out buffer in svcctl_QueryServiceStatusEx and svcctl_QueryServiceConfig2W.
parent
1c89dacf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rpc.c
programs/services/rpc.c
+4
-0
No files found.
programs/services/rpc.c
View file @
286dc62e
...
...
@@ -654,6 +654,8 @@ DWORD svcctl_QueryServiceConfig2W( SC_RPC_HANDLE hService, DWORD level,
struct
sc_service_handle
*
service
;
DWORD
err
;
memset
(
buffer
,
0
,
size
);
if
((
err
=
validate_service_handle
(
hService
,
SERVICE_QUERY_STATUS
,
&
service
))
!=
0
)
return
err
;
...
...
@@ -701,6 +703,8 @@ DWORD svcctl_QueryServiceStatusEx(
DWORD
err
;
LPSERVICE_STATUS_PROCESS
pSvcStatusData
;
memset
(
lpBuffer
,
0
,
cbBufSize
);
if
((
err
=
validate_service_handle
(
hService
,
SERVICE_QUERY_STATUS
,
&
service
))
!=
0
)
return
err
;
...
...
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