From: Günther Deschner Date: Fri, 19 Jun 2009 00:52:53 +0000 (+0200) Subject: s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS. X-Git-Tag: tevent-0.9.8~994 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=e6cb82a7dad2122d39d115eb8431a948dd142301 s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS. Guenther --- diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c index 1c81766ebe3..3ba52e6f345 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)) {