diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-07-01 17:06:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-12 15:43:06 -0700 |
commit | c3efacaa68a75049a859cbfd03d52dfdebb7527b (patch) | |
tree | da3110f8c6754c55edd758d1d1bd1607e13cc322 /include/linux/i2c.h | |
parent | fd627a01477dadaef3bc8556e5e9d0ef80310c3a (diff) |
[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