On Thu, May 21, 2020 at 11:29:31AM -0600, Bruce Rogers wrote: > Commit 571a8c522e caused the HMP wavcapture command to segfault when > processing audio data in audio_pcm_sw_write(), where a NULL > sw->hw->pcm_ops is dereferenced. This fix checks that the pointer is > valid before dereferincing it. A similar fix is also made in the > parallel function audio_pcm_sw_read(). > > Fixes: 571a8c522e (audio: split ctl_* functions into enable_* and > volume_*) > Signed-off-by: Bruce Rogers <brog...@suse.com>
Added to audio queue. thanks, Gerd