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
63a74c7d
Commit
63a74c7d
authored
Dec 27, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcss: Zero the memory of several variables before writing them to the pipe to…
rpcss: Zero the memory of several variables before writing them to the pipe to silence Valgrind warnings.
parent
fd711c57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
np_server.c
programs/rpcss/np_server.c
+2
-0
No files found.
programs/rpcss/np_server.c
View file @
63a74c7d
...
...
@@ -110,6 +110,7 @@ static void RPCSS_ServerProcessRESOLVEEPMessage(PRPCSS_NP_MESSAGE pMsg,
static
void
RPCSS_ServerProcessMessage
(
PRPCSS_NP_MESSAGE
pMsg
,
PRPCSS_NP_REPLY
pReply
,
char
*
vardata
)
{
WINE_TRACE
(
"
\n
"
);
ZeroMemory
(
pReply
,
sizeof
(
*
pReply
));
switch
(
pMsg
->
message_type
)
{
case
RPCSS_NP_MESSAGE_TYPEID_RANMSG
:
RPCSS_ServerProcessRANMessage
(
pMsg
,
pReply
);
...
...
@@ -436,6 +437,7 @@ BOOL RPCSS_BecomePipeServer(void)
*/
if
((
client_handle
=
RPCSS_NPConnect
())
!=
INVALID_HANDLE_VALUE
)
{
ZeroMemory
(
&
msg
,
sizeof
(
msg
));
msg
.
message_type
=
RPCSS_NP_MESSAGE_TYPEID_RANMSG
;
msg
.
message
.
ranmsg
.
timeout
=
1000
;
msg
.
vardata_payload_size
=
0
;
...
...
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