]> Git Repo - qemu.git/commit
fix :cirrus_vga fix OOB read case qemu Segmentation fault
authorhangaohuai <[email protected]>
Tue, 14 Mar 2017 06:39:19 +0000 (14:39 +0800)
committerGerd Hoffmann <[email protected]>
Thu, 16 Mar 2017 07:58:15 +0000 (08:58 +0100)
commit215902d7b6fb50c6fc216fc74f770858278ed904
treec8167baf32fb221b518785dd596ae53dfc815fae
parent1883ff34b540daacae948f493b0ba525edf5f642
fix :cirrus_vga fix OOB read case qemu Segmentation fault

check the validity of parameters in cirrus_bitblt_rop_fwd_transp_xxx
and cirrus_bitblt_rop_fwd_xxx to avoid the OOB read which causes qemu Segmentation fault.

After the fix, we will touch the assert in
cirrus_invalidate_region:
assert(off_cur_end >= off_cur);

Signed-off-by: fangying <[email protected]>
Signed-off-by: hangaohuai <[email protected]>
Message-id: 20170314063919[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/display/cirrus_vga_rop.h
This page took 0.027015 seconds and 4 git commands to generate.