11 Dec
2020
11 Dec
'20
10:46 a.m.
On Wed, Dec 09, 2020 at 09:54:09AM +0300, Dan Carpenter wrote:
The error handling frees "ctl" but it's still on the "dsp->ctl_list" list so that could result in a use after free. Remove it from the list before returning.
Fixes: 2323736dca72 ("ASoC: wm_adsp: Add basic support for rev 1 firmware file format") Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
Good spot there, thanks.
Acked-by: Charles Keepax ckeepax@opensource.cirrus.com
Thanks, Charles