From 82585a5ca6fc10eef7a55a756241a34c969823d7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 10 Dec 2007 06:21:29 +0100 Subject: r26362: Fix segfault in NET-API-DELSHARE torture test. Andrew Bartlett (This used to be commit aab6b7eeb86f7a36261099a085fd450438fa5de1) --- source4/torture/libnet/libnet_share.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') 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)) { -- cgit