[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-7-ge6cb82a

Günther Deschner gd at samba.org
Fri Jun 19 09:15:31 GMT 2009


The branch, master has been updated
       via  e6cb82a7dad2122d39d115eb8431a948dd142301 (commit)
      from  d9498aaf1b931763eac561e8601fa6ef2db01742 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e6cb82a7dad2122d39d115eb8431a948dd142301
Author: Günther Deschner <gd at samba.org>
Date:   Fri Jun 19 02:52:53 2009 +0200

    s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/rpc/dfs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 1c81766..3ba52e6 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)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list