From 1a3900710192152bebfbc1cdcb0fae724083b42a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 24 Apr 2009 09:35:24 +0200 Subject: s4:torture Fix segfault in RPC-SAMSYNC This code needs to be fixed to match Win2008 behavior, but at least it does not segfault any more. Andrew Bartlett --- source4/torture/rpc/samsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index a67a06dcb6..4cecab4017 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -177,7 +177,7 @@ static struct policy_handle *samsync_open_domain(TALLOC_CTX *mem_ctx, o.in.sid = *l.out.sid; o.out.domain_handle = domain_handle; - if (sid) { + if (sid_p) { *sid_p = *l.out.sid; } -- cgit