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

Skip to content
Commit cbb2503b authored by Jack Pham's avatar Jack Pham
Browse files

usb: gadget: u_bam: Fix potential NULL port->port_usb dereference



Fix additional places in u_bam in which port->port_usb may be
accessed without checking for NULL pointer first. These checks
should be done with port->port_lock held.

Change-Id: Ia15edd8e760e21c95ca310523b29e0ba073d54db
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 07692d57
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