1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3-auth: fix uninitialized server_info

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
This commit is contained in:
Sumit Bose 2011-09-12 15:50:31 +02:00 committed by Günther Deschner
parent 456aee80f5
commit 81b965af89

View File

@ -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)) {