You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
commit 3a4187e upstream.
The AD7923 was updated to support devices with 8 channels, but the size
of tx_buf and ring_xfer was not increased accordingly, leading to a
potential buffer overflow in ad7923_update_scan_mode().
Fixes: 851644a ("iio: adc: ad7923: Add support for the ad7908/ad7918/ad7928")
Cc: [email protected]
Signed-off-by: Nuno Sa <[email protected]>
Signed-off-by: Zicheng Qu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
0 commit comments