From de0de39082ee971aa3ff442e0201d9eff5c75cca Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 31 Mar 2005 23:52:04 +1000 Subject: [PATCH] - (dtucker) [monitor.c] Remaining part of fix for bug #1006. --- ChangeLog | 3 ++- monitor.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ba31bb80c..9fedb7fa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,7 @@ routines, originally reported by robvdwal at sara.nl. - (dtucker) [ssh.c] Prevent null pointer deref in port forwarding debug message on some platforms. Patch from pete at seebeyond.com via djm. + - (dtucker) [monitor.c] Remaining part of fix for bug #1006. 20050329 - (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're @@ -2407,4 +2408,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3733 2005/03/31 11:51:54 dtucker Exp $ +$Id: ChangeLog,v 1.3734 2005/03/31 13:52:04 dtucker Exp $ diff --git a/monitor.c b/monitor.c index 4dc11a275..c6a42e709 100644 --- a/monitor.c +++ b/monitor.c @@ -310,6 +310,8 @@ monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) authctxt = _authctxt; memset(authctxt, 0, sizeof(*authctxt)); + authctxt->loginmsg = &loginmsg; + if (compat20) { mon_dispatch = mon_dispatch_proto20;