--- xen-3.2-testing.hg/tools/ioemu/hw/xenfb.c.orig 2008-09-26 11:16:55.000000000 +0200 +++ xen-3.2-testing.hg/tools/ioemu/hw/xenfb.c 2008-09-26 11:18:01.000000000 +0200 @@ -496,7 +496,7 @@ depth); return -1; } - if (row_stride < 0 || row_stride > fb_len) { + if (row_stride <= 0 || row_stride > fb_len) { fprintf(stderr, "FB: invalid frontend stride %d\n", row_stride); return -1;