summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-07-15 16:38:50 +0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-07-24 18:18:47 -0700
commit0aa7c205e901ad75f4785f786b32a2b01b896a9b (patch)
treea62fbe34856efb91e94731eddcd0d32b9931115b /tools/perf/scripts/python
parentd6b0c1c2f3e8d8bd7b6f60b02cc7a37bff117fa6 (diff)
Input: iqs5xx - validate firmware record destination span
The firmware record parser checks that the record address starts within the programmable map, but does not check that the complete record data fits in that map. A record near the end of the map can therefore make the copy to pmap exceed its destination span. Check the record length against the remaining programmable map range before copying the record data. Fixes: 7b5bb55d0dad ("Input: add support for Azoteq IQS550/572/525") Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Link: https://patch.msgid.link/20260715083850.32155-1-pengpeng@iscas.ac.cn Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions