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:
parent
27fbd85300
commit
9621bb420a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user