diff options
| author | Gerd Hoffmann | 2017-04-28 09:56:12 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2017-05-04 08:31:48 +0200 |
| commit | 3268a845f41253fb55852a8429c32b50f36f349a (patch) | |
| tree | 2230bc38f2fb99ec0b27da1bba2b692798adace0 /scripts | |
| parent | hw/audio: convert exit callback in HDACodecDeviceClass to void (diff) | |
| download | qemu-3268a845f41253fb55852a8429c32b50f36f349a.tar.gz qemu-3268a845f41253fb55852a8429c32b50f36f349a.tar.xz qemu-3268a845f41253fb55852a8429c32b50f36f349a.zip | |
audio: release capture buffers
AUD_add_capture() allocates two buffers which are never released.
Add the missing calls to AUD_del_capture().
Impact: Allows vnc clients to exhaust host memory by repeatedly
starting and stopping audio capture.
Fixes: CVE-2017-8309
Cc: P J P <ppandit@redhat.com>
Cc: Huawei PSIRT <PSIRT@huawei.com>
Reported-by: "Jiangxin (hunter, SCC)" <jiangxin1@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 20170428075612.9997-1-kraxel@redhat.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
