summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-03 13:20:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:31 -0500
commit5f6c0b6c8cd2db9cd5a93dcdd2697be2a7acf6c5 (patch)
treedd62f4eb0e0d04612f0ffa65fc579a089b2f5010 /source4/torture/rpc
parent54dd7bccd29e98ff634196b7028261b998172d4e (diff)
downloadsamba-5f6c0b6c8cd2db9cd5a93dcdd2697be2a7acf6c5.tar.gz
samba-5f6c0b6c8cd2db9cd5a93dcdd2697be2a7acf6c5.tar.bz2
samba-5f6c0b6c8cd2db9cd5a93dcdd2697be2a7acf6c5.zip
r2207: this bug caued valgrind to consume infinite memory till the kernel killed it :(
(This used to be commit 60a88595e23eb2953edfacf9dfc9fe3f08ec5eeb)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index cbeaac8d9e..34221a14fa 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -836,6 +836,7 @@ static BOOL test_GetPrinterDriver2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.architecture = "W32X86";
r.in.level = 1;
buf_size = 0;
+ r.in.buffer = NULL;
r.in.buf_size = r.out.buf_size = &buf_size;
r.in.client_major_version = 0;
r.in.client_minor_version = 0;