1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3-pam_smbpass: Correctly initialize variables.

This fixes a coverity warning.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 22 22:51:59 CET 2015 on sn-devel-104
This commit is contained in:
Andreas Schneider 2015-01-22 10:16:28 +01:00 committed by Jeremy Allison
parent cb27bd1022
commit 7afff0c52e

View File

@ -101,8 +101,8 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
struct samu *sampass = NULL;
void (*oldsig_handler)(int);
const char *user;
char *pass_old;
char *pass_new;
char *pass_old = NULL;
char *pass_new = NULL;
TALLOC_CTX *frame = talloc_stackframe();
/* Samba initialization. */