diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 23:08:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 23:08:14 +1000 |
commit | eb57862e7c4be89ccb0428298e9737ff7e2398f9 (patch) | |
tree | 743949fca24c305d554a6c6166966fb226a6bb86 /sshd.c | |
parent | 133b757357fe78893327494afb8db113a6ad53a8 (diff) |
- (dtucker) [sshd.c] Clear loginmsg in postauth monitor, prevents doubling
messages generated before the postauth privsep split.
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -659,6 +659,7 @@ privsep_postauth(Authctxt *authctxt) | |||
659 | else if (pmonitor->m_pid != 0) { | 659 | else if (pmonitor->m_pid != 0) { |
660 | debug2("User child is on pid %ld", (long)pmonitor->m_pid); | 660 | debug2("User child is on pid %ld", (long)pmonitor->m_pid); |
661 | close(pmonitor->m_recvfd); | 661 | close(pmonitor->m_recvfd); |
662 | buffer_clear(&loginmsg); | ||
662 | monitor_child_postauth(pmonitor); | 663 | monitor_child_postauth(pmonitor); |
663 | 664 | ||
664 | /* NEVERREACHED */ | 665 | /* NEVERREACHED */ |