diff options
author | Michael Adam <obnox@samba.org> | 2014-09-29 11:01:11 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-30 16:36:09 +0200 |
commit | 40b48534dfde7d17112a18d2e4e8fc24ee1adfc8 (patch) | |
tree | 7517f0e35cfb26a23de3fa3151f308cea1954f00 | |
parent | 1dbd0bec040060193f1d2f1b5a97db1bd340c1ca (diff) | |
download | samba-40b48534dfde7d17112a18d2e4e8fc24ee1adfc8.tar.gz |
s3:messaging: fix uninitialized data introduced by padding
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
-rw-r--r-- | source3/lib/messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 84147de0f6e..573116f8925 100644 --- 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, |