Prasad J Pandit
4c65fed8bd
ui: vnc: avoid floating point exception
...
While sending 'SetPixelFormat' messages to a VNC server,
the client could set the 'red-max', 'green-max' and 'blue-max'
values to be zero. This leads to a floating point exception in
write_png_palette while doing frame buffer updates.
Reported-by: Lian Yihan <lianyihan@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2015-12-03 13:34:50 +00:00
..
2015-05-05 10:48:22 +02:00
2015-12-01 21:22:41 +00:00
2015-10-08 10:31:35 +02:00
2015-11-06 15:42:38 +03:00
2015-11-03 10:12:46 +01:00
2015-11-06 15:42:38 +03:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2015-10-08 10:34:53 +02:00
2015-05-29 11:11:38 +02:00
2015-10-08 10:34:53 +02:00
2015-10-08 10:34:53 +02:00
2015-10-19 10:13:07 +02:00
2015-11-02 08:30:28 +01:00
2015-11-06 15:42:38 +03:00
2015-11-06 10:16:03 +01:00
2015-11-06 15:42:38 +03:00
2010-07-26 17:35:54 -05:00
2015-10-08 10:34:53 +02:00
2015-01-19 13:33:26 +01:00
2012-12-19 08:31:30 +01:00
2015-10-08 10:31:35 +02:00
2015-05-05 10:48:26 +02:00
2015-05-05 10:48:26 +02:00
2014-09-16 08:07:05 +02:00
2015-06-09 10:25:21 +02:00
2014-03-05 09:52:05 +01:00
2013-01-15 18:25:30 -06:00
2013-01-15 18:25:30 -06:00
2010-07-26 17:35:54 -05:00
2015-11-06 15:42:38 +03:00
2015-10-08 10:31:35 +02:00
2015-11-02 08:30:26 +01:00
2015-09-21 09:52:07 +02:00
2014-03-24 08:41:21 +01:00
2012-12-19 08:31:30 +01:00
2015-03-10 08:15:34 +03:00
2015-09-15 15:20:55 +01:00
2013-08-22 19:10:27 +02:00
2015-09-15 15:20:55 +01:00
2010-07-26 17:35:54 -05:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:05 +01:00
2014-12-10 10:08:12 +01:00
2010-07-26 17:36:14 -05:00
2011-08-20 23:01:08 -05:00
2011-02-23 16:28:28 -06:00
2012-11-01 14:00:04 +01:00
2011-02-23 16:28:28 -06:00
2011-12-14 11:09:44 +00:00
2013-10-26 13:06:45 +04:00
2015-11-17 12:34:07 +00:00
2015-03-10 08:15:33 +03:00
2012-12-06 09:17:05 +01:00
2012-12-19 08:32:39 +01:00
2015-09-15 15:20:55 +01:00
2015-09-15 15:20:55 +01:00
2015-12-03 13:34:50 +00:00
2015-10-20 14:59:09 +01:00
2015-05-29 10:30:06 +02:00
2011-01-23 16:21:20 +00:00