[PATCH] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Feb 24 19:05:30 CET 2022


>> From: Ammar Faizi <ammarfaizi2 at gnuweeb.org>
>>
>> Do not call snd_dma_free_pages() when snd_dma_alloc_pages() returns
>> -ENOMEM because it leads to a NULL pointer dereference bug.
> 
> Reviewed-by: Peter Ujfalusi <peter.ujfalusi at linux.intel.com>

Thanks for this patch. looks good and tested by our CI, so

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>




More information about the Alsa-devel mailing list