Files
qemu/ui
Petr Matousek b2f1d90530 vnc: sanitize bits_per_pixel from the client
bits_per_pixel that are less than 8 could result in accessing
non-initialized buffers later in the code due to the expectation
that bytes_per_pixel value that is used to initialize these buffers is
never zero.

To fix this check that bits_per_pixel from the client is one of the
values that the rfb protocol specification allows.

This is CVE-2014-7815.

Signed-off-by: Petr Matousek <pmatouse@redhat.com>

[ kraxel: apply codestyle fix ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit e6908bfe8e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-01-06 18:26:44 -06:00
..
2014-06-23 11:12:28 -04:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:31 +01:00
2014-05-26 08:42:43 +02:00
2014-06-04 08:40:41 +02:00
2014-05-16 08:30:11 +02:00
2014-06-02 16:28:58 +02:00
2014-03-10 13:49:44 +01:00
2014-07-11 10:12:47 +02:00
2012-11-01 19:49:45 +01:00
2013-08-22 19:10:27 +02:00
2013-05-03 12:04:57 -05:00
2014-07-25 09:43:31 +02:00