summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare2006-07-01 17:06:43 +0200
committerGreg Kroah-Hartman2006-07-13 00:43:06 +0200
commitc3efacaa68a75049a859cbfd03d52dfdebb7527b (patch)
treeda3110f8c6754c55edd758d1d1bd1607e13cc322 /include/linux/i2c.h
parent[PATCH] scx200_acb: Fix the state machine (diff)
downloadkernel-qcow2-linux-c3efacaa68a75049a859cbfd03d52dfdebb7527b.tar.gz
kernel-qcow2-linux-c3efacaa68a75049a859cbfd03d52dfdebb7527b.tar.xz
kernel-qcow2-linux-c3efacaa68a75049a859cbfd03d52dfdebb7527b.zip
[PATCH] scx200_acb: Fix the block transactions
The scx200_acb i2c bus driver pretends to support SMBus block transactions, but in fact it implements the more simple I2C block transactions. Additionally, it lacks sanity checks on the length of the block transactions, which could lead to a buffer overrun. This fixes an oops reported by Alexander Atanasov: http://marc.theaimsgroup.com/?l=linux-kernel&m=114970382125094 Thanks to Ben Gardner for fixing my bugs :) Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions