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

Skip to content
Commit 457ac5b0 authored by Mayank Rana's avatar Mayank Rana
Browse files

USB: gadget: Fix race condition to over come memory corruption



With dynamic composition change, it has been observed that port
structure is being accessed after it is being freed. Hence it
creates memory corruption and device is crashing with the same.
This change avoid port access after it is being freed to ovecome
this issue.

CRs-Fixed: 636780
Change-Id: Ibc2792791cecbcea63edeba864df7b7da73b5f40
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 2a9b24f2
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