diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2023-10-03 15:21:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-10-06 11:11:18 +0200 |
commit | 5d542b850d40cb08a38ad4bb2a944dbf1b7b0683 (patch) | |
tree | 479c7247d1541cb63ad7172704ff0231d3b406cf /crypto/md5.c | |
parent | 9c1a3f432b62a2b34f2f58cda0dcf7229e83bf98 (diff) |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202309291331.0JUUQnPT-lkp@intel.com/
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231003142138.180108-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions