Bugzilla – Attachment 751 Details for
Bug 961
CVS annotate problems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Return stdio to blocking before executing shell/command
stdio-blocking.diff (text/plain), 616 bytes, created by
Damien Miller
on 2004-12-10 20:46:07 AEDT
(
hide
)
Description:
Return stdio to blocking before executing shell/command
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2004-12-10 20:46:07 AEDT
Size:
616 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/session.c,v >retrieving revision 1.180 >diff -u -r1.180 session.c >--- session.c 28 Jul 2004 09:40:29 -0000 1.180 >+++ session.c 10 Dec 2004 09:50:44 -0000 >@@ -1103,6 +1103,11 @@ > /* remove hostkey from the child's memory */ > destroy_sensitive_data(); > >+ /* Make sure stdio is returned to blocking mode */ >+ unset_nonblock(STDIN_FILENO); >+ unset_nonblock(STDOUT_FILENO); >+ unset_nonblock(STDERR_FILENO); >+ > /* Force a password change */ > if (s->authctxt->force_pwchange) { > do_setusercontext(pw);
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
Actions:
View
|
Diff
Attachments on
bug 961
: 751