Bugzilla – Attachment 1431 Details for
Bug 1007
sftp client hangs on tru64 5.1A
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make ssh-rand-helper close all fds above STDERR
openssh-rand-helper-fds.patch (text/plain), 585 bytes, created by
Darren Tucker
on 2008-01-01 04:57:07 AEDT
(
hide
)
Description:
Make ssh-rand-helper close all fds above STDERR
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2008-01-01 04:57:07 AEDT
Size:
585 bytes
patch
obsolete
>Index: entropy.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh/entropy.c,v >retrieving revision 1.60 >diff -u -p -r1.60 entropy.c >--- entropy.c 12 Mar 2007 20:35:38 -0000 1.60 >+++ entropy.c 31 Dec 2007 17:43:26 -0000 >@@ -97,9 +97,7 @@ seed_rng(void) > dup2(devnull, STDIN_FILENO); > dup2(p[1], STDOUT_FILENO); > /* Keep stderr open for errors */ >- close(p[0]); >- close(p[1]); >- close(devnull); >+ closefrom(STDERR_FILENO + 1); > > if (original_uid != original_euid && > ( seteuid(getuid()) == -1 ||
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 1007
:
859
|
860
|
869
| 1431