summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/torture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 054f1965c4..925cac3f32 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -1051,6 +1051,8 @@ static BOOL run_tcon_test(int dummy)
char buf[4];
BOOL ret = True;
+ memset(buf, '\0', sizeof(buf));
+
if (!torture_open_connection(&cli, 0)) {
return False;
}