[PATCH] ctdb-tools: CID 1449530 - Negative loop bound

Martin Schwenke martin at meltin.net
Fri Jul 5 04:13:50 UTC 2019

Regression introduced by commit
2558f96da1f9be8034f26736c8050bb38a1f82a8.  count should be signed
because list_of_connected_nodes() returns -1 on failure.  Variable i
is used in both signed and unsigned contexts, so add new signed
variable j for use in signed context.

Please review and maybe push...

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-tools-CID-1449530-Negative-loop-bound.patch
Type: text/x-patch
Size: 1569 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190705/16e2cb57/0001-ctdb-tools-CID-1449530-Negative-loop-bound.bin>

More information about the samba-technical mailing list