Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 251673 Details for
Bug 342267
x11-drivers/ati-drivers-10.10 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated patch
ati-drivers-CVE-2010-3081-fix.patch (text/plain), 1.13 KB, created by
kiorky
on 2010-10-23 10:29:40 UTC
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
kiorky
Created:
2010-10-23 10:29:40 UTC
Size:
1.13 KB
patch
obsolete
>diff -ur work.orig/common/lib/modules/fglrx/build_mod/kcl_ioctl.c work.cve//common/lib/modules/fglrx/build_mod/kcl_ioctl.c >--- work.orig/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2010-10-23 10:20:31.871200339 +0000 >+++ work.cve//common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2010-10-23 12:24:30.111178036 +0000 >@@ -35,6 +35,7 @@ > > #ifdef __x86_64__ > # include "asm/compat.h" >+# include "linux/compat.h" > # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) > # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) > # include "linux/ioctl32.h" >@@ -193,13 +194,17 @@ > */ > void* ATI_API_CALL KCL_IOCTL_AllocUserSpace32(long size) > { >- void __user *ret = COMPAT_ALLOC_USER_SPACE(size); >+ void __user *ptr; > >- /* prevent stack overflow */ >- if (!access_ok(VERIFY_WRITE, ret, size)) >+ /* If size would occupy more than half of the entire compat space... */ >+ if (unlikely(size > (((compat_uptr_t)~0) >> 1))) > return NULL; >+ ptr = arch_compat_alloc_user_space(size); >+ if (unlikely(!access_ok(VERIFY_WRITE, ptr, size))) >+ return NULL; >+ >+ return ptr; > >- return (void *)ret; > } > > #endif // __x86_64__
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 Raw
Actions:
View
Attachments on
bug 342267
:
251669
|
251671
| 251673 |
251697
|
252931