diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2020-01-23 08:49:43 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-01-31 08:49:48 +0100 |
commit | 599eac4e5a41e828645594097daee39373acc3c0 (patch) | |
tree | afecef2517630c09444ca2b40083248d3a0070f8 /bootdevice.c | |
parent | f03cd06814ab282196165808c01d4433773a6e0f (diff) | |
download | qemu-599eac4e5a41e828645594097daee39373acc3c0.zip qemu-599eac4e5a41e828645594097daee39373acc3c0.tar.gz qemu-599eac4e5a41e828645594097daee39373acc3c0.tar.bz2 |
audio: audio_generic_get_buffer_in should honor *size
The function generic_get_buffer_in currently ignores the *size
parameter and may return a buffer larger than *size.
As a result the variable samples in function
audio_pcm_hw_run_in may underflow. The while loop then most
likely will never termiate.
Buglink: http://bugs.debian.org/948658
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-Id: <20200123074943.6699-9-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'bootdevice.c')
0 files changed, 0 insertions, 0 deletions