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

Commit 4a445e58 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: f_qc_rndis: Add check before queuing notification available



There is a chance that rndis_response_available() and unbind() race each
other due to which request's buffer might have freed and could cause
accessing freed buffer pointer. Hence add check before accessing buffer
pointer of USB request for interrupt endpoint.

CRs-Fixed: 973943
Change-Id: I34af9cd7bbce89507c6b424aad2786f758ddc1e6
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 1c10389d
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