summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-03-23 09:11:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:39 -0500
commit40c2da7e896d7e3a37b96fad961c965c0ff5f999 (patch)
treefeb94f9f43ac8f328a4660bcb189c7193edf15e3 /source4/torture/rpc
parentffcf96b46dd4c80101673bb3e6b2fea8cd393ac1 (diff)
downloadsamba-40c2da7e896d7e3a37b96fad961c965c0ff5f999.tar.gz
samba-40c2da7e896d7e3a37b96fad961c965c0ff5f999.tar.bz2
samba-40c2da7e896d7e3a37b96fad961c965c0ff5f999.zip
r21943: don't send unitialized data
metze (This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samba3rpc.c2
1 files changed, 1 insertions, 1 deletions
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;