Re: [PATCH] ALSA: emu10k1: fix capture interrupt handler unlinking

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

 



On Wed, 05 Apr 2023 22:12:20 +0200,
Oswald Buddenhagen wrote:
> 
> Due to two copy/pastos, closing the MIC or EFX capture device would
> make a running ADC capture hang due to unsetting its interrupt handler.
> In principle, this would have also allowed dereferencing dangling
> pointers, but we're actually rather thorough at disabling and flushing
> the ints.
> 
> While it may sound like one, this actually wasn't a hypothetical bug:
> PortAudio will open a capture stream at startup (and close it right
> away) even if not asked to. If the first device is busy, it will just
> proceed with the next one ... thus killing a concurrent capture.
> 
> Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@xxxxxx>

Applied, thanks.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux