[2/2] ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()

Kalle Valo kvalo at qca.qualcomm.com
Fri Dec 30 01:11:38 PST 2016


Christian Lamparter <chunkeey at googlemail.com> wrote:
> ath10k_wmi_tlv_op_pull_fw_stats() uses tb = ath10k_wmi_tlv_parse_alloc(...)
> function, which allocates memory. If any of the three error-paths are
> taken, this tb needs to be freed.
> 
> Signed-off-by: Christian Lamparter <chunkeey at googlemail.com>

Patch applied to ath-next branch of ath.git, thanks.

097e46d2ae90 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()

-- 
https://patchwork.kernel.org/patch/9461627/

Documentation about submitting wireless patches and checking status
from patchwork:

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




More information about the ath10k mailing list