Re: [Qemu-devel] [PATCH] cirrus: keep vga vram pointer within bounds

2017-10-10 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20171010213608.31567-1-ppan...@redhat.com Subject: [Qemu-devel] [PATCH] cirrus: keep vga vram pointer within bounds === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1

[Qemu-devel] [PATCH] cirrus: keep vga vram pointer within bounds

2017-10-10 Thread P J P
From: Prasad J Pandit 'dst' pointer could exceed vga vram size when writing to the cirrus memory area; it'd lead to an OOB access issue. Add check to avoid it. Reported-by: Niu Guoxiang Signed-off-by: Prasad J Pandit --- hw/display/cirrus_vga.c | 10 -- 1 file changed, 8 insertions(+)