aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2006-07-01 15:06:43 +0000
committerGreg Kroah-Hartman <[email protected]>2006-07-12 22:43:06 +0000
commitc3efacaa68a75049a859cbfd03d52dfdebb7527b (patch)
treeda3110f8c6754c55edd758d1d1bd1607e13cc322 /drivers/i2c/algos/i2c-algo-bit.c
parent[PATCH] scx200_acb: Fix the state machine (diff)
downloadkernel-c3efacaa68a75049a859cbfd03d52dfdebb7527b.tar.gz
kernel-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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions