git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce645e
)
s3:rpc_client: use the correct context for netlogon_creds_copy() in rpccli_schannel_b...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 25 Apr 2013 16:29:31 +0000
(18:29 +0200)
committer
Andreas Schneider
<asn@samba.org>
Mon, 5 Aug 2013 08:30:02 +0000
(10:30 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index 068510a3710dd52bb61882f4eb255de54c25dc3f..b4a4bed05f17d2532b7ba9a3a6cfe7aa042dfde4 100644
(file)
--- a/
source3/rpc_client/cli_pipe.c
+++ b/
source3/rpc_client/cli_pipe.c
@@
-2403,7
+2403,10
@@
static NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx,
schannel_auth->state = SCHANNEL_STATE_START;
schannel_auth->initiator = true;
- schannel_auth->creds = netlogon_creds_copy(result, creds);
+ schannel_auth->creds = netlogon_creds_copy(schannel_auth, creds);
+ if (schannel_auth->creds == NULL) {
+ goto fail;
+ }
result->auth_ctx = schannel_auth;
*presult = result;