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

Commit 0c679a08 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: gadget: midi: Fix use-after-free after midi_unbind



If midi composition is unbound while streaming is going
on then there is a possibility of in/out_trigger pcm
routines accessing midi structure after it is already
freed on function unbind.

CRs-fixed: 2020461
Change-Id: Ifb3141f3a26f073f6df7c4ae7e821c828d723a4f
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent d603d283
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