aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-05-28 20:22:19 +0000
committerWim Van Sebroeck <[email protected]>2025-07-16 16:05:00 +0000
commit8b61d8ca751bc15875b50e0ff6ac3ba0cf95a529 (patch)
treef0514a96511a2d07f1dcb944254ee7a2a27522e7 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentLinux 6.16-rc5 (diff)
downloadkernel-8b61d8ca751bc15875b50e0ff6ac3ba0cf95a529.tar.gz
kernel-8b61d8ca751bc15875b50e0ff6ac3ba0cf95a529.zip
watchdog: ziirave_wdt: check record length in ziirave_firm_verify()
The "rec->len" value comes from the firmware. We generally do trust firmware, but it's always better to double check. If the length value is too large it would lead to memory corruption when we set "data[i] = ret;" Fixes: 217209db0204 ("watchdog: ziirave_wdt: Add support to upload the firmware.") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/3b58b453f0faa8b968c90523f52c11908b56c346.1748463049.git.dan.carpenter@linaro.org Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions