Signed-off-by: Gandolfi Rafael --- --- a/hw/vmware_vga.c 2012-04-23 12:32:56.000000000 +0200 +++ b/hw/vmware_vga.c 2012-05-05 22:07:13.845551216 +0200 @@ -298,6 +298,14 @@ uint8_t *src; uint8_t *dst; + if (x < 0) { + x = 0; + } + + if (y < 0) { + y = 0; + } + if (x + w > s->width) { fprintf(stderr, "%s: update width too large x: %d, w: %d\n", __FUNCTION__, x, w); ---