Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23196 Details for
Bug 37292
Critical kernel mremp vulnerability
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised mremap patch to solve patching issues
mremap-CAN-2003-0985.patch (text/plain), 414 bytes, created by
kfm
on 2004-01-05 10:24:40 UTC
(
hide
)
Description:
Revised mremap patch to solve patching issues
Filename:
MIME Type:
Creator:
kfm
Created:
2004-01-05 10:24:40 UTC
Size:
414 bytes
patch
obsolete
>--- linux/mm/mremap.c.orig 2004-01-05 17:01:21.382104120 +0000 >+++ linux/mm/mremap.c 2004-01-05 17:15:25.689749848 +0000 >@@ -270,6 +270,10 @@ > old_len = PAGE_ALIGN(old_len); > new_len = PAGE_ALIGN(new_len); > >+ /* Don't allow the degenerate cases */ >+ if (!(old_len | new_len)) >+ goto out; >+ > /* new_addr is only valid if MREMAP_FIXED is specified */ > if (flags & MREMAP_FIXED) { > if (new_addr & ~PAGE_MASK)
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 37292
:
23194
| 23196