summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorHyeongJun An <sammiee5311@gmail.com>2026-06-09 15:43:16 +0300
committerMark Brown <broonie@kernel.org>2026-06-11 22:44:45 +0300
commit1d8aabb413b5638670dfd1162169edc0ba276a2e (patch)
treed6c9b15678615fcaea798e9986c81a1ebf96073a /include/linux/timerqueue.h
parent3cd17e4e2871114d5579fa7bc8da66faf7fc1930 (diff)
downloadlinux-1d8aabb413b5638670dfd1162169edc0ba276a2e.tar.xz
ASoC: tegra: tegra210_ahub: Validate written enum value
tegra_ahub_put_value_enum() reads e->values[item[0]] before checking whether item[0] is within the enum item range. The existing check therefore happens too late to prevent an out-of-range read of the values array. Move the check before the array access. Fixes: 16e1bcc2caf4 ("ASoC: tegra: Add Tegra210 based AHUB driver") Assisted-by: Claude:claude-opus-4-8 Signed-off-by: HyeongJun An <sammiee5311@gmail.com> Link: https://patch.msgid.link/20260609124317.38046-5-sammiee5311@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions