Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33426 Details for
Bug 54164
sys-kernel/*: 2.4.* i2c driver Code execution with kernel privs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.4.26-i2cproc_bus_read.patch
2.4.26-i2cproc_bus_read.patch (text/plain), 512 bytes, created by
solar (RETIRED)
on 2004-06-17 08:06:58 UTC
(
hide
)
Description:
2.4.26-i2cproc_bus_read.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2004-06-17 08:06:58 UTC
Size:
512 bytes
patch
obsolete
>diff -Nrup linux-2.4.26-grsec-2.0/drivers/i2c/i2c-core.c linux/drivers/i2c/i2c-core.c >--- linux-2.4.26-grsec-2.0/drivers/i2c/i2c-core.c 2004-02-18 08:36:31.000000000 -0500 >+++ linux/drivers/i2c/i2c-core.c 2004-06-17 10:27:36.000000000 -0400 >@@ -625,7 +625,7 @@ ssize_t i2cproc_bus_read(struct file * f > size_t len_total; > int order[I2C_CLIENT_MAX]; > >- if (count > 4000) >+ if ((count > 4000) || (count < 0)) > return -EINVAL; > len_total = file->f_pos + count; > /* Too bad if this gets longer (unlikely) */
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 54164
: 33426