Bugzilla – Attachment 517 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 child's environment
openssh-clearchild.patch (text/plain), 590 bytes, created by
Darren Tucker
on 2003-12-23 00:44:49 AEDT
(
hide
)
Description:
Clear child's environment
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-12-23 00:44:49 AEDT
Size:
590 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/session.c,v >retrieving revision 1.265 >diff -u -p -r1.265 session.c >--- session.c 9 Dec 2003 08:15:11 -0000 1.265 >+++ session.c 23 Dec 2003 07:38:58 -0000 >@@ -407,6 +407,11 @@ do_exec_no_pty(Session *s, const char *c > if (setsid() < 0) > error("setsid failed: %.100s", strerror(errno)); > >+ /* >+ * Clear child's environment >+ */ >+ environ[0] = NULL; >+ > #ifdef USE_PIPES > /* > * Redirect stdin. We close the parent side of the socket
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