aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2025-05-22 06:43:49 +0000
committerAndi Shyti <[email protected]>2025-06-25 20:49:57 +0000
commitcbdb25ccf7566eee0c2b945e35cb98baf9ed0aa6 (patch)
tree80f2a3f91ec3736a0f338e0e38016b9a24c1f6fe /lib/crypto/mpi/mpi-cmp.c
parenti2c: robotfuzz-osif: disable zero-length read messages (diff)
downloadkernel-cbdb25ccf7566eee0c2b945e35cb98baf9ed0aa6.tar.gz
kernel-cbdb25ccf7566eee0c2b945e35cb98baf9ed0aa6.zip
i2c: tiny-usb: disable zero-length read messages
This driver passes the length of an i2c_msg directly to usb_control_msg(). If the message is now a read and of length 0, it violates the USB protocol and a warning will be printed. Enable the I2C_AQ_NO_ZERO_LEN_READ quirk for this adapter thus forbidding 0-length read messages altogether. Fixes: e8c76eed2ecd ("i2c: New i2c-tiny-usb bus driver") Signed-off-by: Wolfram Sang <[email protected]> Cc: <[email protected]> # v2.6.22+ Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions