diff options
| author | hangaohuai | 2017-03-14 07:39:19 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2017-03-16 08:58:15 +0100 |
| commit | 215902d7b6fb50c6fc216fc74f770858278ed904 (patch) | |
| tree | c8167baf32fb221b518785dd596ae53dfc815fae /include | |
| parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
| download | qemu-215902d7b6fb50c6fc216fc74f770858278ed904.tar.gz qemu-215902d7b6fb50c6fc216fc74f770858278ed904.tar.xz qemu-215902d7b6fb50c6fc216fc74f770858278ed904.zip | |
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 <fangying1@huawei.com>
Signed-off-by: hangaohuai <hangaohuai@huawei.com>
Message-id: 20170314063919.16200-1-hangaohuai@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
