diff options
| author | Prasad J Pandit <pjp@fedoraproject.org> | 2016-10-18 13:15:17 +0530 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-12-05 11:01:55 +0100 |
| commit | 4299b90e9ba9ce5ca9024572804ba751aa1a7e70 (patch) | |
| tree | 1ccd2cdab99576b791e53ad97f20a8cc9ae94984 /scripts/qapi.py | |
| parent | 2d1cd6c7a91a4beb99a0c3a21be529222a708545 (diff) | |
| download | focaccia-qemu-4299b90e9ba9ce5ca9024572804ba751aa1a7e70.tar.gz focaccia-qemu-4299b90e9ba9ce5ca9024572804ba751aa1a7e70.zip | |
display: cirrus: check vga bits per pixel(bpp) value
In Cirrus CLGD 54xx VGA Emulator, if cirrus graphics mode is VGA, 'cirrus_get_bpp' returns zero(0), which could lead to a divide by zero error in while copying pixel data. The same could occur via blit pitch values. Add check to avoid it. Reported-by: Huawei PSIRT <psirt@huawei.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-id: 1476776717-24807-1-git-send-email-ppandit@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions