Bugzilla – Attachment 520 Details for
Bug 757
KRB5CCNAME inherited from root's environment under AIX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clear daemon's environment at startup
openssh-envclear.patch (text/plain), 706 bytes, created by
Darren Tucker
on 2003-12-31 16:49:53 AEDT
(
hide
)
Description:
Clear daemon's environment at startup
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-12-31 16:49:53 AEDT
Size:
706 bytes
patch
obsolete
>Index: sshd.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/sshd.c,v >retrieving revision 1.269 >diff -u -p -r1.269 sshd.c >--- sshd.c 17 Dec 2003 05:31:10 -0000 1.269 >+++ sshd.c 31 Dec 2003 05:20:03 -0000 >@@ -101,6 +101,7 @@ extern char *__progname; > #else > char *__progname; > #endif >+extern char **environ; > > /* Server configuration options. */ > ServerOptions options; >@@ -1100,6 +1101,9 @@ main(int ac, char **av) > /* Chdir to the root directory so that the current disk can be > unmounted if desired. */ > chdir("/"); >+ >+ /* Clear environment */ >+ environ[0] = NULL; > > /* ignore SIGPIPE */ > signal(SIGPIPE, SIG_IGN);
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 757
:
497
|
498
|
517
| 520