1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib: Fix bug 12291

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12291
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 28 19:01:02 CEST 2016 on sn-devel-144
This commit is contained in:
Volker Lendecke 2016-09-27 10:08:18 -07:00
parent f1c8786e11
commit f92590d10a

View File

@ -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);