mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()
[ Upstream commit4a0e218cc9] Do `kfree_skb(new)` before `goto out` to prevent potential leak. Fixes:8959077797("rtw89: 8852a: add ieee80211_ops::hw_scan") Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230103141054.17372-1-pkshih@realtek.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d3955094a2
commit
a10b6d7312
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue