Bugzilla – Attachment 575 Details for
Bug 817
Opening >1 session and shell results in the MOTD being repeated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clear loginmsg after fork.
openssh-session-motd.patch (text/plain), 734 bytes, created by
Darren Tucker
on 2004-03-24 00:41:47 AEDT
(
hide
)
Description:
Clear loginmsg after fork.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-03-24 00:41:47 AEDT
Size:
734 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/session.c,v >retrieving revision 1.275 >diff -u -p -r1.275 session.c >--- session.c 23 Feb 2004 13:01:27 -0000 1.275 >+++ session.c 24 Mar 2004 06:17:58 -0000 >@@ -492,6 +492,13 @@ do_exec_no_pty(Session *s, const char *c > close(err[0]); > > /* >+ * Clear loginmsg, since it's the child's responsibility to display >+ * it to the user, otherwise multiple sessions may accumulate >+ * multiple copies of the login messages. >+ */ >+ buffer_clear(&loginmsg); >+ >+ /* > * Enter the interactive session. Note: server_loop must be able to > * handle the case that fdin and fdout are the same. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 817
: 575