aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2025-03-25 10:54:24 +0800
committerPing-Ke Shih <pkshih@realtek.com>2025-03-31 14:07:03 +0800
commitbc1265b5c982fc73077812a8be727ba3d734164b (patch)
tree47ecf8a5ee32bdecf9e9db2431273e751121e424 /tools/perf/scripts/python/syscall-counts.py
parentwifi: rtw89: set 2TX for 1SS rate by default (diff)
downloadlinux-bc1265b5c982fc73077812a8be727ba3d734164b.tar.gz
linux-bc1265b5c982fc73077812a8be727ba3d734164b.zip
wifi: rtw89: fw: cast mfw_hdr pointer from address of zeroth byte of firmware->data
The firmware->size is validated before using firmware->data, but Coverity still reports: Downcasting "firmware->data" from "u8 const *" to "struct rtw89_mfw_hdr" implies that the data that this pointer points to is tainted." Using &firmware->data[0] to avoid the warning. No change logic at all. Addresses-Coverity-ID: 1494046 ("Untrusted loop bound") Addresses-Coverity-ID: 1544385 ("Untrusted array index read") Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250325025424.14079-1-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions