From a538cf603bf133771c385a56e49c78fd34f5cbce Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 21 Oct 2016 14:38:49 -0700 Subject: [PATCH] lib: Fix bug 12291 Bug: https://bugzilla.samba.org/show_bug.cgi?id=12291 Back-ported from f92590d10aaf9a289b5f6aac8ffc79129b83a517 in master. Signed-off-by: Jeremy Allison --- source3/lib/msghdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/msghdr.c b/source3/lib/msghdr.c index 6917069..ec07f8b 100644 --- a/source3/lib/msghdr.c +++ b/source3/lib/msghdr.c @@ -205,7 +205,7 @@ ssize_t msghdr_copy(struct msghdr_buf *msg, size_t msgsize, msgsize - offsetof(struct msghdr_buf, buf) : 0; if (msg != NULL) { - msg->msg = (struct msghdr) {}; + msg->msg = (struct msghdr) { 0 }; fd_len = msghdr_prep_fds(&msg->msg, msg->buf, bufsize, fds, num_fds); -- 2.8.0.rc3.226.g39d4020