svn commit: samba r21519 - in
branches/SAMBA_4_0/source/torture/basic: .
metze at samba.org
metze at samba.org
Fri Feb 23 13:15:56 GMT 2007
Author: metze
Date: 2007-02-23 13:15:56 +0000 (Fri, 23 Feb 2007)
New Revision: 21519
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21519
Log:
when we want to send non initialized data, then
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
Modified:
branches/SAMBA_4_0/source/torture/basic/misc.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/misc.c 2007-02-23 12:29:21 UTC (rev 21518)
+++ branches/SAMBA_4_0/source/torture/basic/misc.c 2007-02-23 13:15:56 UTC (rev 21519)
@@ -66,6 +66,7 @@
return False;
}
+ generate_random_buffer(buf, sizeof(buf));
for (i=0;i<torture_numops;i++) {
uint_t n = (uint_t)random()%10;
More information about the samba-cvs
mailing list