From a626e5a274e94caa0d906a07dd25ada928e8a528 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 23 Feb 2007 13:15:56 +0000 Subject: [PATCH] r21519: 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 (This used to be commit 2654f595cae046924be33a3f8f758a20565156ee) --- source4/torture/basic/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c index 13dcf5da932..9467d2fc3cf 100644 --- 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