- (dtucker) [sshd.c] Clear loginmsg in postauth monitor, prevents doubling
messages generated before the postauth privsep split.
This commit is contained in:
parent
133b757357
commit
eb57862e7c
|
@ -25,6 +25,8 @@
|
||||||
- djm@cvs.openbsd.org 2004/08/11 12:01:16
|
- djm@cvs.openbsd.org 2004/08/11 12:01:16
|
||||||
[sshlogin.c]
|
[sshlogin.c]
|
||||||
make store_lastlog_message() static to appease -Wall; ok markus
|
make store_lastlog_message() static to appease -Wall; ok markus
|
||||||
|
- (dtucker) [sshd.c] Clear loginmsg in postauth monitor, prevents doubling
|
||||||
|
messages generated before the postauth privsep split.
|
||||||
|
|
||||||
20040720
|
20040720
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
@ -1592,4 +1594,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3496 2004/08/12 12:50:03 dtucker Exp $
|
$Id: ChangeLog,v 1.3497 2004/08/12 13:08:14 dtucker Exp $
|
||||||
|
|
1
sshd.c
1
sshd.c
|
@ -659,6 +659,7 @@ privsep_postauth(Authctxt *authctxt)
|
||||||
else if (pmonitor->m_pid != 0) {
|
else if (pmonitor->m_pid != 0) {
|
||||||
debug2("User child is on pid %ld", (long)pmonitor->m_pid);
|
debug2("User child is on pid %ld", (long)pmonitor->m_pid);
|
||||||
close(pmonitor->m_recvfd);
|
close(pmonitor->m_recvfd);
|
||||||
|
buffer_clear(&loginmsg);
|
||||||
monitor_child_postauth(pmonitor);
|
monitor_child_postauth(pmonitor);
|
||||||
|
|
||||||
/* NEVERREACHED */
|
/* NEVERREACHED */
|
||||||
|
|
Loading…
Reference in New Issue