]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerJule Anger <janger@samba.org>
Sat, 16 Dec 2023 14:29:10 +0000 (14:29 +0000)
commit24d960d02b84a498cfacc5ee2b283d7bd5b2e1f6
tree1ad203fafc6f51e5abd8f948b2dafefbd5ac2476
parent813e7186719d8f0277671918fe00d407ab8d35d3
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>
(cherry picked from commit 240139370aa19f53dd3de0ff468afd994d3bd973)
source3/lib/ctdbd_conn.c