r2207: this bug caued valgrind to consume infinite memory till the kernel killed...
authorAndrew Tridgell <tridge@samba.org>
Fri, 3 Sep 2004 13:20:31 +0000 (13:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:31 +0000 (12:58 -0500)
(This used to be commit 60a88595e23eb2953edfacf9dfc9fe3f08ec5eeb)

source4/torture/rpc/spoolss.c

index cbeaac8d9e60d60fd5ebb9740da64acf7fe7288e..34221a14fa0c29efbca8af98e04ccc48835de729 100644 (file)
@@ -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;