git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dbd0be
)
s3:messaging: fix uninitialized data introduced by padding
author
Michael Adam
<obnox@samba.org>
Mon, 29 Sep 2014 09:01:11 +0000
(11:01 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 30 Sep 2014 14:36:09 +0000
(16:36 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/messages.c
patch
|
blob
|
history
diff --git
a/source3/lib/messages.c
b/source3/lib/messages.c
index 84147de0f6e6fa70545837faa1a84f8241d8a62e..573116f89255cac72e09274313763ab71ce89387 100644
(file)
--- a/
source3/lib/messages.c
+++ b/
source3/lib/messages.c
@@
-515,6
+515,7
@@
NTSTATUS messaging_send_iov(struct messaging_context *msg_ctx,
return NT_STATUS_OK;
}
+ ZERO_STRUCT(hdr);
hdr = (struct messaging_hdr) {
.msg_type = msg_type,
.dst = server,