Re: [Qemu-devel] [PATCH] vnc: Fix heap corruption

2011-02-28 Thread Wen Congyang
At 03/01/2011 05:34 AM, Stefan Weil Write: > Commit bc2429b9174ac2d3c56b7fd35884b0d89ec7fb02 introduced > a severe bug (heap corruption). > > bitmap_clear was called with a wrong argument > which caused out-of-bound writes to width_mask. > > This bug was detected with QEMU running on windows. > I

[Qemu-devel] [PATCH] vnc: Fix heap corruption

2011-02-28 Thread Stefan Weil
Commit bc2429b9174ac2d3c56b7fd35884b0d89ec7fb02 introduced a severe bug (heap corruption). bitmap_clear was called with a wrong argument which caused out-of-bound writes to width_mask. This bug was detected with QEMU running on windows. It also occurs with wine: *** stack smashing detected ***: