diff options
| author | Stefan Binding <[email protected]> | 2023-10-03 14:21:38 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-10-06 09:11:18 +0000 |
| commit | 5d542b850d40cb08a38ad4bb2a944dbf1b7b0683 (patch) | |
| tree | 479c7247d1541cb63ad7172704ff0231d3b406cf /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | Merge tag 'asoc-fix-v6.6-rc4' of https://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-5d542b850d40cb08a38ad4bb2a944dbf1b7b0683.tar.gz kernel-5d542b850d40cb08a38ad4bb2a944dbf1b7b0683.zip | |
ALSA: hda: cs35l41: Cleanup and fix double free in firmware request
There is an unlikely but possible double free when loading firmware,
and a missing free calls if a firmware is successfully requested but
the coefficient file request fails, leading to the fallback firmware
request occurring without clearing the previously loaded firmware.
Fixes: cd40dad2ca91 ("ALSA: hda: cs35l41: Ensure firmware/tuning pairs are always loaded")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Stefan Binding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
