ctdb-recoverd: Fix some uninitialised memory issues
authorMartin Schwenke <martin@meltin.net>
Mon, 11 Jan 2016 06:23:12 +0000 (17:23 +1100)
committerMichael Adam <obnox@samba.org>
Tue, 12 Jan 2016 18:16:17 +0000 (19:16 +0100)
commit56ce230de72dbf14ccddb3f7b26b8b7f16986dfc
tree6a548709b381574a76a48360161a799751b63c5f
parent8f73ae03cc50f26e85b78e35bf22e40eb1ff7684
ctdb-recoverd: Fix some uninitialised memory issues

The first element of these structures is a 32-bit PNN.  On 64-bit
systems this field can be followed by 32-bits of padding.  When the
structures are copied this can cause uninitialised memory to be
copied.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_monitor.c
ctdb/server/ctdb_recoverd.c