git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe962d2
)
r21963: Fix another uninitialized buffer used in test write - valgrind
author
Jeremy Allison
<jra@samba.org>
Sun, 25 Mar 2007 02:17:05 +0000
(
02:17
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:53 +0000
(12:18 -0500)
fix.
Jeremy.
(This used to be commit
0119d2c18348a9e0fcc79e247a9014d929af0ce7
)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 054f1965c40809477f94ffc2566081e54abff09d..925cac3f32cbc8193f1c743da6cb1f3ce372d2db 100644
(file)
--- 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;
}