aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2022-09-22 11:58:48 +0000
committerJonathan Cameron <[email protected]>2022-11-23 19:43:57 +0000
commit3f4033a811bcd1a1f077ce5297488a5c4dd30eb1 (patch)
treeadb14af6a3c73c706f3a191585321c4f507e0fcd /tools/perf/scripts/python/bin/stackcollapse-record
parent8cf5f0329128efdfe18f12a8697752d39821fbdf (diff)
iio: filter: admv8818: close potential out-of-bounds read in __admv8818_read_[h|l]pf_freq()
ADMV8818_SW_IN_WR0_MSK and ADMV8818_SW_OUT_WR0_MSK have 3 bits, which means a length of 8, but freq_range_hpf and freq_range_lpf array size is 4, may end up reading 4 elements beyond the end of those arrays. Check value first before access freq_range_hpf and freq_range_lpf to harden against the hardware allowing out of range values. Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Antoniu Miclaus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions