mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
This pointer is for an array that is always allocated. The check is meant to skip a node that has no IP addresses. However, when there are no IP addresses the loop below will not do anything anyway. Add this as a check at the beginning of the function instead. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This is the release version of CTDB, a clustered implementation of TDB database used by Samba and other projects to store temporary data. This software is freely distributable under the GNU public license, a copy of which you should have received with this software (in a file called COPYING). For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.