Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37126 Details for
Bug 59905
sys-kernel/*: Potential security issue in /proc/cmdline
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.6: Full patch from the -mm tree
proc_pid_cmdline-race-fix.patch (text/plain), 693 bytes, created by
Greg Kroah-Hartman (RETIRED)
on 2004-08-09 15:40:19 UTC
(
hide
)
Description:
2.6: Full patch from the -mm tree
Filename:
MIME Type:
Creator:
Greg Kroah-Hartman (RETIRED)
Created:
2004-08-09 15:40:19 UTC
Size:
693 bytes
patch
obsolete
> >From: Roger Luethi <rl@hellgate.ch> > >If you win the race with a starting process, you can read its environment. > >Signed-off-by: Andrew Morton <akpm@osdl.org> >--- > > 25-akpm/fs/proc/base.c | 2 ++ > 1 files changed, 2 insertions(+) > >diff -puN fs/proc/base.c~proc_pid_cmdline-race-fix fs/proc/base.c >--- 25/fs/proc/base.c~proc_pid_cmdline-race-fix 2004-08-05 11:28:21.915442360 -0700 >+++ 25-akpm/fs/proc/base.c 2004-08-05 11:28:21.919441752 -0700 >@@ -340,6 +340,8 @@ static int proc_pid_cmdline(struct task_ > struct mm_struct *mm = get_task_mm(task); > if (!mm) > goto out; >+ if (!mm->arg_end) >+ goto out; /* Shh! No looking before we're done */ > > len = mm->arg_end - mm->arg_start; > >_
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 59905
:
37124
|
37125
| 37126