From e6cb82a7dad2122d39d115eb8431a948dd142301 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 19 Jun 2009 02:52:53 +0200 Subject: s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS. Guenther --- source4/torture/rpc/dfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c index 1c81766ebe..3ba52e6f34 100644 --- a/source4/torture/rpc/dfs.c +++ b/source4/torture/rpc/dfs.c @@ -205,6 +205,7 @@ static bool test_GetInfoLevel(struct dcerpc_pipe *p, { NTSTATUS status; struct dfs_GetInfo r; + union dfs_Info info; printf("Testing GetInfo level %u on '%s'\n", level, root); @@ -212,6 +213,7 @@ static bool test_GetInfoLevel(struct dcerpc_pipe *p, r.in.servername = NULL; r.in.sharename = NULL; r.in.level = level; + r.out.info = &info; status = dcerpc_dfs_GetInfo(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { -- cgit