diff options
author | 2017-04-28 10:42:37 +0200 | |
---|---|---|
committer | 2017-05-03 14:18:21 +0200 | |
commit | fa18f36a461984eae50ab957e47ec78dae3c14fc (patch) | |
tree | 50707e34aab0606335a94762dfc4a333d078479f /tests/test-qobject-output-visitor.c | |
parent | Merge remote-tracking branch 'sthibault/tags/samuel-thibault' into staging (diff) | |
download | qemu-fa18f36a461984eae50ab957e47ec78dae3c14fc.tar.xz qemu-fa18f36a461984eae50ab957e47ec78dae3c14fc.zip |
input: limit kbd queue depth
Apply a limit to the number of items we accept into the keyboard queue.
Impact: Without this limit vnc clients can exhaust host memory by
sending keyboard events faster than qemu feeds them to the guest.
Fixes: CVE-2017-8379
Cc: P J P <ppandit@redhat.com>
Cc: Huawei PSIRT <PSIRT@huawei.com>
Reported-by: jiangxin1@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20170428084237.23960-1-kraxel@redhat.com
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions