ctdbd_conn: don't use uninitialized memory in ctdbd_register_ips()
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Nov 2023 12:29:18 +0000 (13:29 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Dec 2023 11:06:34 +0000 (11:06 +0000)
commit240139370aa19f53dd3de0ff468afd994d3bd973
tree4cbe4d391ebf915346c5729245b7a19e0ad69123
parent037e8e449deb136ad5ed5e4de05439411b545b6d
ctdbd_conn: don't use uninitialized memory in ctdbd_register_ips()

We dump the structure into the socket, so we need to zero the content
including possible padding.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15523

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/lib/ctdbd_conn.c