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

r19348: Fix uninitialized dictionary handle, found by valgrind.

Guenther
This commit is contained in:
Günther Deschner 2006-10-16 22:41:24 +00:00 committed by Gerald (Jerry) Carter
parent 27fbd85300
commit 9621bb420a

View File

@ -958,7 +958,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
const char *member = NULL;
const char *cctype = NULL;
int retval = PAM_AUTH_ERR;
dictionary *d;
dictionary *d = NULL;
char *username_ret = NULL;
/* parse arguments */
@ -1147,7 +1147,7 @@ PAM_EXTERN
int pam_sm_close_session(pam_handle_t *pamh, int flags,
int argc, const char **argv)
{
dictionary *d;
dictionary *d = NULL;
int retval = PAM_SUCCESS;
/* parse arguments */
@ -1241,7 +1241,7 @@ int pam_sm_chauthtok(pam_handle_t * pamh, int flags,
char *Announce;
int retry = 0;
dictionary *d;
dictionary *d = NULL;
ctrl = _pam_parse(pamh, flags, argc, argv, &d);
if (ctrl == -1) {