Gerd Hoffmann fa18f36a46 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
2017-05-03 14:18:21 +02:00
..
2016-02-04 17:01:04 +00:00
2017-02-27 16:15:29 +01:00
2017-05-03 14:18:21 +02:00
2016-02-04 17:01:04 +00:00
2017-03-21 10:25:01 +00:00
2016-06-03 08:23:26 +02:00
2017-02-27 16:15:29 +01:00
2016-02-04 17:01:04 +00:00
2014-09-16 08:07:05 +02:00
2017-02-27 16:15:29 +01:00
2017-02-27 16:21:23 +01:00
2016-03-01 08:19:07 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-23 12:43:05 +00:00
2016-02-04 17:01:04 +00:00