[PATCH] ctdb-tools: Avoid deferencing argv[0] if argc == 0 (bug 12723)

Amitay Isaacs amitay at gmail.com
Tue Mar 28 07:31:27 UTC 2017


Hi,

This avoids ctdb_event tool crashing if event name is not specified to
"ctdb_event status" command.

Please review and push.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-tools-Avoid-deferencing-argv-0-if-argc-0.patch
Type: text/x-patch
Size: 1287 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170328/e1c91164/0001-ctdb-tools-Avoid-deferencing-argv-0-if-argc-0.bin>


More information about the samba-technical mailing list