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

Commit 459ef45b authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: f_rndis: Fix rndis message parsing of erroneous requests



In the completion handler of the rndis command requests we
are parsing the request buffers without checking the
status of the request. This might cause parsing of the
erroneous requests. Fix this by checking the status
of the request before parsing the request buffer.

Change-Id: I476c6c82d367f6f5fc6eff25b049b3323b68b859
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 2c2fc4e3
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