[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] audio: intel-hda: check stream entry count duri
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] audio: intel-hda: check stream entry count during transfer |
Date: |
Wed, 26 Oct 2016 14:48:23 +0200 |
On Do, 2016-10-20 at 13:10 +0530, P J P wrote:
> From: Prasad J Pandit <address@hidden>
>
> Intel HDA emulator uses stream of buffers during DMA data
> transfers. Each entry has buffer length and buffer pointer
> position, which are used to derive bytes to 'copy'. If this
> length and buffer pointer were to be same, 'copy' could be
> set to zero(0), leading to an infinite loop. Add check to
> avoid it.
>
> Reported-by: Huawei PSIRT <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
Added to audio patch queue.
thanks,
Gerd