summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-19 02:52:53 +0200
committerGünther Deschner <gd@samba.org>2009-06-19 11:14:51 +0200
commite6cb82a7dad2122d39d115eb8431a948dd142301 (patch)
tree586f1c0fe81bd0fe0fcf501ed941d85376d49ee6 /source4/torture/rpc
parentd9498aaf1b931763eac561e8601fa6ef2db01742 (diff)
downloadsamba-e6cb82a7dad2122d39d115eb8431a948dd142301.tar.gz
samba-e6cb82a7dad2122d39d115eb8431a948dd142301.tar.bz2
samba-e6cb82a7dad2122d39d115eb8431a948dd142301.zip
s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dfs.c2
1 files changed, 2 insertions, 0 deletions
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)) {