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

Commit ecd44cff authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: f_rndis: Fix NULL pointer dereference during composition switch



During fast RNDIS enable/disable, there is a chance that rndis driver
unbind race with rndis_cmd_complete and results in NULL pointer
dereference. Fix this by having check if before handling rndis command
received.

CRs-Fixed: 984950
Change-Id: Ie54c5083866db9f9d1b80bb5438b1d82db15580f
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent b65b7cae
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