diff options
author | Xingyuan Mo <hdthky0@gmail.com> | 2023-12-17 14:29:01 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-12-18 21:41:00 +0300 |
commit | ad25ee36f00172f7d53242dc77c69fff7ced0755 (patch) | |
tree | 5efd9d5ec48c58b226a150d0211ec0da43667488 /crypto | |
parent | c5a3f56fcdb0a48a20772e4c9b8adc6c7256a461 (diff) | |
download | linux-ad25ee36f00172f7d53242dc77c69fff7ced0755.tar.xz |
wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
We should check whether the WMI_TLV_TAG_STRUCT_MGMT_TX_COMPL_EVENT tlv is
present before accessing it, otherwise a null pointer deference error will
occur.
Fixes: dc405152bb64 ("ath10k: handle mgmt tx completion event")
Signed-off-by: Xingyuan Mo <hdthky0@gmail.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20231208043433.271449-1-hdthky0@gmail.com
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions