Gerd Hoffmann 7cdc61becd vga: fix region calculation
Typically the scanline length and the line offset are identical.  But
in case they are not our calculation for region_end is incorrect.  Using
line_offset is fine for all scanlines, except the last one where we have
to use the actual scanline length.

Fixes: CVE-2018-7550
Reported-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Prasad J Pandit <pjp@fedoraproject.org>
Tested-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Message-id: 20180309143704.13420-1-kraxel@redhat.com
2018-03-12 11:45:21 +01:00
..
2018-02-19 18:27:32 +01:00
2018-03-02 13:45:50 -06:00
2018-03-08 15:49:23 +01:00
2017-10-27 16:03:54 +02:00
2018-03-12 11:45:21 +01:00
2018-03-01 11:05:45 +00:00
2018-03-02 13:45:50 -06:00
2018-02-13 18:25:48 +02:00
2018-03-05 14:27:24 +00:00
2018-03-02 13:45:50 -06:00
2016-01-29 15:07:25 +00:00
2018-03-07 08:30:28 +13:00
2018-03-02 13:45:50 -06:00
2018-03-08 12:56:39 +00:00
2018-03-02 13:45:50 -06:00
2018-03-02 13:45:50 -06:00
2018-02-19 13:03:24 +02:00