summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorPei Xiao <xiaopei01@kylinos.cn>2024-10-30 06:20:58 +0300
committerPing-Ke Shih <pkshih@realtek.com>2024-11-06 09:18:27 +0300
commit81df5ed446b448bdc327b7c7f0b50121fc1f4aa2 (patch)
treebdf90cba0a21f5353e58526202fb066df0457059 /rust/helpers/build_bug.c
parent95fa94562298deb37c407c9ebd1e57ab14fe9f13 (diff)
downloadlinux-81df5ed446b448bdc327b7c7f0b50121fc1f4aa2.tar.xz
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 <xiaopei01@kylinos.cn> Fixes: b952cb0a6e2d ("wifi: rtw89: coex: Add register monitor report v7 format") Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/516a91f3997534f708af43c7592cbafdd53dd599.1730253508.git.xiaopei01@kylinos.cn
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions