git.samba.org
/
martins
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041b0cf
)
r21519: when we want to send non initialized data, then
author
Stefan Metzmacher
<metze@samba.org>
Fri, 23 Feb 2007 13:15:56 +0000
(13:15 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:48:49 +0000
(14:48 -0500)
generate a random buffer explicit to make valgrind happy
found by valgrind in the build-farm on fort, there are some more places
like this...
metze
(This used to be commit
2654f595cae046924be33a3f8f758a20565156ee
)
source4/torture/basic/misc.c
patch
|
blob
|
history
diff --git
a/source4/torture/basic/misc.c
b/source4/torture/basic/misc.c
index 13dcf5da932a298fe49896035406783b4284f540..9467d2fc3cf2ba90a427cfc228698ce1c3a019b1 100644
(file)
--- a/
source4/torture/basic/misc.c
+++ b/
source4/torture/basic/misc.c
@@
-66,6
+66,7
@@
static BOOL rw_torture(struct torture_context *tctx, struct smbcli_state *c)
return False;
}
+ generate_random_buffer(buf, sizeof(buf));
for (i=0;i<torture_numops;i++) {
uint_t n = (uint_t)random()%10;