qemu-e2k/hw/audio
Prasad J Pandit 0c0fc2b5fd audio: intel-hda: check stream entry count during transfer
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 <psirt@huawei.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1476949224-6865-1-git-send-email-ppandit@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-10-26 14:51:44 +02:00
..
ac97.c
adlib.c
cs4231.c
cs4231a.c
es1370.c
fmopl.c
fmopl.h
gus.c
gusemu_hal.c
gusemu_mixer.c
gusemu.h
gustate.h
hda-codec-common.h
hda-codec.c
intel-hda-defs.h
intel-hda.c audio: intel-hda: check stream entry count during transfer 2016-10-26 14:51:44 +02:00
intel-hda.h
lm4549.c
lm4549.h
Makefile.objs
marvell_88w8618.c
milkymist-ac97.c
pcspk.c pcspk: adding vmstate for save/restore 2016-09-15 15:10:06 +02:00
pl041.c
pl041.h
pl041.hx
sb16.c
trace-events
wm8750.c