1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-common: Fix CID 1435599

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Amitay Isaacs 2018-05-15 19:23:04 +10:00 committed by Amitay Isaacs
parent 472dca2905
commit 215d8448f0

View File

@ -337,7 +337,7 @@ static int cmdline_match(struct cmdline_context *cmdline)
size_t len;
char *t, *str;
int n = 0;
bool match;
bool match = false;
cmd = &cmdline->commands[i];
len = strlcpy(name, cmd->name, sizeof(name));