diff options
| author | Takashi Iwai <[email protected]> | 2021-06-08 16:04:37 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-06-09 17:29:38 +0200 |
| commit | c305366a37441c2ac90b08711cb6f032b43672f2 (patch) | |
| tree | c3659325a67ddcb1b7a61939dcb56f511148d698 /tools/perf/scripts/python/flamegraph.py | |
| parent | 36e7b12b219dc30a4db046756d81745bc9d69167 (diff) | |
ALSA: sb: Fix potential double-free of CSP mixer elements
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/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions