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

Skip to content
Commit bc5dfee3 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: u_glink: Fix null pointer dereference of port



There is a possible erratic scenario where the
set_alt is not called but the disable is called.
This might lead to an invalid null access of
the port.
Fix this by checking the validity of the port
before accessing it.

Change-Id: Iab8f5570a0e9049cb5204793025a9f1c2ac3113c
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 5d0488ab
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