summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-10 06:21:29 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:05 +0100
commit82585a5ca6fc10eef7a55a756241a34c969823d7 (patch)
treee20071f0aec5fd8a969ad7993b44ebd701aa6526
parent4b115147845529f14bc0f1de58ac3dad7fa577b9 (diff)
downloadsamba-82585a5ca6fc10eef7a55a756241a34c969823d7.tar.gz
samba-82585a5ca6fc10eef7a55a756241a34c969823d7.tar.bz2
samba-82585a5ca6fc10eef7a55a756241a34c969823d7.zip
r26362: Fix segfault in NET-API-DELSHARE torture test.
Andrew Bartlett (This used to be commit aab6b7eeb86f7a36261099a085fd450438fa5de1)
-rw-r--r--source4/torture/libnet/libnet_share.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_share.c b/source4/torture/libnet/libnet_share.c
index c81dd29252..efd53cc079 100644
--- a/source4/torture/libnet/libnet_share.c
+++ b/source4/torture/libnet/libnet_share.c
@@ -183,6 +183,7 @@ static bool test_addshare(struct dcerpc_pipe *svc_pipe, TALLOC_CTX *mem_ctx, con
add.in.server_unc = host;
add.in.level = 2;
add.in.info.info2 = &i;
+ add.in.parm_error = NULL;
status = dcerpc_srvsvc_NetShareAdd(svc_pipe, mem_ctx, &add);
if (!NT_STATUS_IS_OK(status)) {