Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 472826 Details for
Bug 646823
any local user can do DoS attack for the system easily
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposing patch for "git apply"
0001-csh.cshrc-remove-user-s-paths-while-sourcing-profile.patch (text/plain), 1.23 KB, created by
Vojtech Vitek
on 2011-01-11 14:30:50 UTC
(
hide
)
Description:
Proposing patch for "git apply"
Filename:
MIME Type:
Creator:
Vojtech Vitek
Created:
2011-01-11 14:30:50 UTC
Size:
1.23 KB
patch
obsolete
>From 612059ac4c1c69e2d28db0821adf4b410f139164 Mon Sep 17 00:00:00 2001 >From: Vojtech Vitek (V-Teq) <vvitek@redhat.com> >Date: Tue, 11 Jan 2011 15:14:54 +0100 >Subject: [PATCH] csh.cshrc: remove user's paths while sourcing profile scripts > >Do not let system programs be overriden by user's scripts while sourcing profile scripts. >This prevents infinite loop in tcsh (rhbz#646823). >--- > csh.cshrc | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/csh.cshrc b/csh.cshrc >index bec85aa..298517a 100644 >--- a/csh.cshrc >+++ b/csh.cshrc >@@ -58,6 +58,10 @@ setenv MAIL "/var/spool/mail/$USER" > if (! $?loginsh) then > if ( -d /etc/profile.d ) then > set nonomatch >+ # Do not let profile scripts override system programs >+ # by user's scripts (prevent infinite loop in tcsh) >+ set usr_env_path=$PATH >+ setenv PATH '/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin' > foreach i ( /etc/profile.d/*.csh ) > if ( -r "$i" ) then > if ($?prompt) then >@@ -67,6 +71,7 @@ if (! $?loginsh) then > endif > endif > end >- unset i nonomatch >+ setenv PATH $usr_env_path >+ unset i nonomatch usr_env_path > endif > endif >-- >1.7.3.4 >
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 646823
:
455921
|
471917
| 472826