git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa753f
)
s4:torture Fix segfault in RPC-SAMSYNC
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 24 Apr 2009 07:35:24 +0000
(09:35 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 24 Apr 2009 07:35:24 +0000
(09:35 +0200)
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
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samsync.c
b/source4/torture/rpc/samsync.c
index a67a06dcb67e9ad9164da0be376f551abf77abf8..4cecab40171974783e9bf08ecfe17dd3bf28e19c 100644
(file)
--- 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;
}