aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPavel Skripkin <[email protected]>2021-03-09 01:30:57 +0300
committerTakashi Iwai <[email protected]>2021-03-09 07:40:46 +0100
commitc5aa956eaeb05fe87e33433d7fd9f5e4d23c7416 (patch)
treec6763a3a190b1cdb40cebc06840528b0a507cdd3 /lib/mpi/mpiutil.c
parent30dea07180de3aa0ad613af88431ef4e34b5ef68 (diff)
ALSA: usb-audio: fix use after free in usb_audio_disconnect
The problem was in wrong "if" placement. chip->quirk_type is freed in snd_card_free_when_closed(), but inside if statement it's accesed. Fixes: 9799110825db ("ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()") Signed-off-by: Pavel Skripkin <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/16da19126ff461e5e64a9aec648cce28fb8ed73e.1615242183.git.paskripkin@gmail.com Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions