Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b8da07ef authored by Sai Krishna Juturi's avatar Sai Krishna Juturi Committed by Gerrit - the friendly Code Review server
Browse files

net: usb: rmnet_usb_ctrl: Fix use after free issue



In rmnet_usb_ctrl_init dev is freed again it is
dereferenced with in same block. Fix this issue
by taking derefernced value into a local variable
prior to freeing dev.

Change-Id: Ic51accc8949e97c8aaeda558adcc9d404fb2a26d
Signed-off-by: default avatarSai Krishna Juturi <jsaikrishna@codeaurora.org>
parent 6d769db1
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