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

Skip to content
Commit faf47215 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: f_fs: Fix use-after-free when unbind races with epfile_io()



EPs freed as part of unbind could be accessed by ffs_epfile_io().
Fix this by moving ffs_log() under disconnect or composition
switch check for similar race with data transfer.

Change-Id: I3ba268577541bd60ec915094fa4f6898d20706ad
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 71eb1ca6
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