[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha6-593-g6b19c39
Günther Deschner
gd at samba.org
Fri Feb 6 23:46:53 GMT 2009
The branch, master has been updated
via 6b19c396970f527fc0527c736acdce22de2917ae (commit)
from 100aad0ddff4e817de99c5d8e0f51ff730d55d58 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 6b19c396970f527fc0527c736acdce22de2917ae
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 7 00:21:46 2009 +0100
s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source4/torture/rpc/spoolss_win.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/rpc/spoolss_win.c b/source4/torture/rpc/spoolss_win.c
index ed2bdc7..ab5adef 100644
--- a/source4/torture/rpc/spoolss_win.c
+++ b/source4/torture/rpc/spoolss_win.c
@@ -357,6 +357,7 @@ static bool test_EnumPrinterKey(struct torture_context *tctx,
epk.in.key_name = talloc_strdup(tctx, key);
epk.in.key_buffer_size = 0;
epk.out.needed = &needed;
+ epk.out.key_buffer = talloc_array(tctx, uint16_t, 0);
status = dcerpc_spoolss_EnumPrinterKey(p, tctx, &epk);
torture_assert_ntstatus_ok(tctx, status, "EnumPrinterKey failed");
@@ -398,6 +399,7 @@ static bool test_EnumPrinterDataEx(struct torture_context *tctx,
epde.in.offered = 0;
epde.out.needed = &needed;
epde.out.count = &count;
+ epde.out.buffer = talloc_array(tctx, uint8_t, 0);
status = dcerpc_spoolss_EnumPrinterDataEx(p, tctx, &epde);
torture_assert_ntstatus_ok(tctx, status, "EnumPrinterDataEx failed.");
--
Samba Shared Repository
More information about the samba-cvs
mailing list