Skip to content
Commit afbb1947 authored by Pan Bian's avatar Pan Bian Committed by Kalle Valo
Browse files

rtl818x: fix potential use after free



entry is released via usb_put_urb just after calling usb_submit_urb.
However, entry is used if the submission fails, resulting in a use after
free bug. The patch fixes this.

Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
ACKed-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 662a7b07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment