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

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

USB: gadget: u_bam: Fix NULL pointer deference during disconnect



It might happen that disconnect and notify callback from BAM DMUX
driver race each other and result in crash due to NULL pointer
dereference in notify callback. Hence fix this by having check
before pointer dereference and free skb if pointer is NULL.

Change-Id: Id87fd49946405cd490cf2c18e4a9ddd5ca7ea0a0
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 5684450d
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