From 40c2da7e896d7e3a37b96fad961c965c0ff5f999 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 23 Mar 2007 09:11:53 +0000 Subject: r21943: don't send unitialized data metze (This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff) --- source4/torture/rpc/samba3rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 096aecea0b..78db554710 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -2287,7 +2287,7 @@ static BOOL enumprinters(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *pipe, return False; } - blob = data_blob_talloc(mem_ctx, NULL, r.out.needed); + blob = data_blob_talloc_zero(mem_ctx, r.out.needed); if (blob.data == NULL) { d_printf("(%s) data_blob_talloc failed\n", __location__); return False; -- cgit