TMP init
authorMichael Adam <obnox@samba.org>
Mon, 6 Oct 2014 14:29:58 +0000 (16:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:06:24 +0000 (15:06 +0100)
source3/lib/messages.c

index a6bf99578b6f35a739b52935b5f44e1eb1ccbf40..700b229b8b570901db4826fd57f79bf2ff1631a8 100644 (file)
@@ -807,7 +807,7 @@ int messaging_send_iov_from(struct messaging_context *msg_ctx,
                            const int *fds, size_t num_fds)
 {
        int ret;
-       uint8_t hdr[MESSAGE_HDR_LENGTH];
+       uint8_t hdr[MESSAGE_HDR_LENGTH] = { 0 };
        struct iovec iov2[iovlen+1];
 
        if (server_id_is_disconnected(&dst)) {