diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-10-11 10:43:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-10-17 09:59:00 +0200 |
commit | eb38e1bc3740725ca29a535351de94107ec58d51 (patch) | |
tree | dd071fd63e7677672aad985e719672e267f4ded5 /hw/ppc/ppc440_bamboo.c | |
parent | b0898b42ef099bc125db1fbf62b7f02b505ef3a2 (diff) |
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
Diffstat (limited to 'hw/ppc/ppc440_bamboo.c')
0 files changed, 0 insertions, 0 deletions