[PATCH] wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()

Kalle Valo kvalo at kernel.org
Thu Dec 7 04:20:20 PST 2023


Xingyuan Mo <hdthky0 at gmail.com> writes:

> 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.

I cannot take patches without s-o-b, please read:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#signed-off-by_missing

Also you need to Cc linux-wireless so that patchwork sees the patch:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/submittingpatches

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath10k mailing list