Re: [Qemu-devel] [PATCH] cirrus: fix oob access in mode4and5 write functions

2017-10-11 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20171011071423.20179-1-kra...@redhat.com Subject: [Qemu-devel] [PATCH] cirrus: fix oob access in mode4and5 write functions === TEST SCRIPT BEGIN === #!/bin/bash BASE=base

[Qemu-devel] [PATCH] cirrus: fix oob access in mode4and5 write functions

2017-10-11 Thread Gerd Hoffmann
Move dst calculation into the loop, so we apply the mask on each interation and will not overflow vga memory. Cc: Prasad J Pandit Reported-by: Niu Guoxiang Signed-off-by: Gerd Hoffmann --- hw/display/cirrus_vga.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/disp