summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-25 02:17:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:53 -0500
commit679aeec5464ac48919f4ac17ae48e1ad6e550d5f (patch)
tree0a7fab3ec7faffe96ce5a9627163245191fa3f87 /source3
parentfe962d2e487994f7969cda3743f2c812df8e1e24 (diff)
downloadsamba-679aeec5464ac48919f4ac17ae48e1ad6e550d5f.tar.gz
samba-679aeec5464ac48919f4ac17ae48e1ad6e550d5f.tar.bz2
samba-679aeec5464ac48919f4ac17ae48e1ad6e550d5f.zip
r21963: Fix another uninitialized buffer used in test write - valgrind
fix. Jeremy. (This used to be commit 0119d2c18348a9e0fcc79e247a9014d929af0ce7)
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;
}