From 9414b9d65cdc953c2436ba0a607b149e4b4cde1a Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 5 Mar 2004 16:26:32 +0000 Subject: Really pick up upstream fix for OpenSSH bug #808, a segfault. The previous auth-pam.c change was in fact a different bug. --- monitor.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 009dcf182..30f7258a0 100644 --- a/monitor.c +++ b/monitor.c @@ -782,16 +782,10 @@ mm_answer_skeyrespond(int socket, Buffer *m) int mm_answer_pam_start(int socket, Buffer *m) { - char *user; - if (!options.use_pam) fatal("UsePAM not set, but ended up in %s anyway", __func__); - user = buffer_get_string(m, NULL); - - start_pam(user); - - xfree(user); + start_pam(authctxt); monitor_permit(mon_dispatch, MONITOR_REQ_PAM_ACCOUNT, 1); -- cgit v1.2.3