qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] audio: fix wavcapture segfault


From: Gerd Hoffmann
Subject: Re: [PATCH] audio: fix wavcapture segfault
Date: Tue, 26 May 2020 07:56:11 +0200

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 <address@hidden>

Added to audio queue.

thanks,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]