Messages in this thread | | | Date | Thu, 24 Feb 2022 12:05:30 -0600 | Subject | Re: [PATCH] ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM | From | Pierre-Louis Bossart <> |
| |
>> From: Ammar Faizi <ammarfaizi2@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@linux.intel.com>
Thanks for this patch. looks good and tested by our CI, so
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
| |