- (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from

PAM to sane values in case the PAM method doesn't write to them.  Spotted by
   Bitman Zhou, ok djm@.
This commit is contained in:
Darren Tucker 2010-08-03 15:50:16 +10:00
parent 12b29dbd8a
commit 8b7a055e9a
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,9 @@
20100919 20100903
- (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from
PAM to sane values in case the PAM method doesn't write to them. Spotted by
Bitman Zhou, ok djm@.
20100819
- (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more
details about its behaviour WRT existing directories. Patch from details about its behaviour WRT existing directories. Patch from
asguthrie at gmail com, ok djm. asguthrie at gmail com, ok djm.

View File

@ -922,8 +922,8 @@ mm_answer_pam_init_ctx(int sock, Buffer *m)
int int
mm_answer_pam_query(int sock, Buffer *m) mm_answer_pam_query(int sock, Buffer *m)
{ {
char *name, *info, **prompts; char *name = NULL, *info = NULL, **prompts = NULL;
u_int i, num, *echo_on; u_int i, num = 0, *echo_on = 0;
int ret; int ret;
debug3("%s", __func__); debug3("%s", __func__);