summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-24 09:35:24 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-04-24 09:35:24 +0200
commit1a3900710192152bebfbc1cdcb0fae724083b42a (patch)
tree5cedb069b9012307da527502787075d1ca267605 /source4/torture/rpc
parentbfa753f1c0b8687f33fc9f2e90011e8f1786d1ae (diff)
downloadsamba-1a3900710192152bebfbc1cdcb0fae724083b42a.tar.gz
samba-1a3900710192152bebfbc1cdcb0fae724083b42a.tar.bz2
samba-1a3900710192152bebfbc1cdcb0fae724083b42a.zip
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
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samsync.c2
1 files changed, 1 insertions, 1 deletions
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;
}