mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
c305366a37
snd_sb_qsound_destroy() contains the calls of removing the previously created mixer controls, but it doesn't clear the pointers. As snd_sb_qsound_destroy() itself may be repeatedly called via ioctl, this could lead to double-free potentially. Fix it by clearing the struct fields properly afterwards. Link: https://lore.kernel.org/r/20210608140540.17885-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
emu8000_callback.c | ||
emu8000_local.h | ||
emu8000_patch.c | ||
emu8000_pcm.c | ||
emu8000_synth.c | ||
emu8000.c | ||
jazz16.c | ||
Makefile | ||
sb8_main.c | ||
sb8_midi.c | ||
sb8.c | ||
sb16_csp.c | ||
sb16_main.c | ||
sb16.c | ||
sb_common.c | ||
sb_mixer.c | ||
sbawe.c |