git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456aee8
)
s3-auth: fix uninitialized server_info
author
Sumit Bose
<sbose@redhat.com>
Mon, 12 Sep 2011 13:50:31 +0000
(15:50 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 12 Sep 2011 15:44:46 +0000
(17:44 +0200)
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Sep 12 17:44:46 CEST 2011 on sn-devel-104
source3/auth/user_krb5.c
patch
|
blob
|
history
diff --git
a/source3/auth/user_krb5.c
b/source3/auth/user_krb5.c
index 0cb80c8cfa3fa1c5ea59c8090384277e83407317..489080e0e8d4405f6993ed04955ee8da1e98d29b 100644
(file)
--- a/
source3/auth/user_krb5.c
+++ b/
source3/auth/user_krb5.c
@@
-242,6
+242,10
@@
NTSTATUS make_session_info_krb5(TALLOC_CTX *mem_ctx,
"make_server_info_pw\n", username));
status = make_server_info_pw(&tmp, username, pw);
}
+
+ /* Steal tmp server info into the server_info pointer. */
+ server_info = talloc_move(mem_ctx, &tmp);
+
TALLOC_FREE(sampass);
if (!NT_STATUS_IS_OK(status)) {