diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-10-29 13:46:37 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-31 21:02:07 +0000 |
commit | 3a4187ec454e19903fd15f6e1825a4b84e59a4cd (patch) | |
tree | c268c787872826b9859c2516a4d8039a80951752 /tools/perf/scripts/python/stackcollapse.py | |
parent | fa4076314480bcb2bb32051027735b1cde07eea2 (diff) | |
download | linux-3a4187ec454e19903fd15f6e1825a4b84e59a4cd.tar.gz linux-3a4187ec454e19903fd15f6e1825a4b84e59a4cd.tar.bz2 linux-3a4187ec454e19903fd15f6e1825a4b84e59a4cd.zip |
iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
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: 851644a60d20 ("iio: adc: ad7923: Add support for the ad7908/ad7918/ad7928")
Cc: stable@vger.kernel.org
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Zicheng Qu <quzicheng@huawei.com>
Link: https://patch.msgid.link/20241029134637.2261336-1-quzicheng@huawei.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions