1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

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
This commit is contained in:
Andrew Bartlett 2009-04-24 09:35:24 +02:00
parent bfa753f1c0
commit 1a39007101

View File

@ -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;
}