diff options
| author | Pei Xiao <[email protected]> | 2024-10-30 11:20:58 +0800 |
|---|---|---|
| committer | Ping-Ke Shih <[email protected]> | 2024-11-06 14:18:27 +0800 |
| commit | 81df5ed446b448bdc327b7c7f0b50121fc1f4aa2 (patch) | |
| tree | bdf90cba0a21f5353e58526202fb066df0457059 /tools/perf/scripts/python | |
| parent | 95fa94562298deb37c407c9ebd1e57ab14fe9f13 (diff) | |
wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()
kmalloc may fail, return value might be NULL and will cause
NULL pointer dereference. Add check NULL return of kmalloc in
btc_fw_set_monreg().
Signed-off-by: Pei Xiao <[email protected]>
Fixes: b952cb0a6e2d ("wifi: rtw89: coex: Add register monitor report v7 format")
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://patch.msgid.link/516a91f3997534f708af43c7592cbafdd53dd599.1730253508.git.xiaopei01@kylinos.cn
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions