Gerd Hoffmann eb38e1bc37 cirrus: fix oob access in mode4and5 write functions
Move dst calculation into the loop, so we apply the mask on each
interation and will not overflow vga memory.

Cc: Prasad J Pandit <pjp@fedoraproject.org>
Reported-by: Niu Guoxiang <niuguoxiang@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171011084314.21752-1-kraxel@redhat.com
2017-10-17 09:59:00 +02:00
..
2016-05-19 16:42:29 +02:00
2017-03-27 12:14:45 +02:00
2017-05-10 10:19:24 +03:00
2017-03-21 10:25:01 +00:00
2016-01-29 15:07:24 +00:00
2016-10-24 16:26:56 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:24 +00:00
2017-04-24 10:12:28 +02:00
2017-04-24 12:32:12 +01:00
2016-09-22 18:13:08 +01:00
2016-01-29 15:07:24 +00:00
2016-09-08 18:05:21 +04:00
2017-10-17 09:59:00 +02:00
2017-09-27 11:44:18 +01:00