Re: [Spice-devel] [PATCH spice] Fix crash when clearing surface memory

2014-08-07 Thread Christophe Fergeau
ACK On Thu, Aug 07, 2014 at 11:47:07AM +0200, Marc-André Lureau wrote: > The beginning of the surface data needs to be computed correctly if the > stride is negative, otherwise, it should point already to the beginning > of the surface data. This bug seems to exists since 4a208b (0.5.2) > > https

[Spice-devel] [PATCH spice] Fix crash when clearing surface memory

2014-08-07 Thread Marc-André Lureau
The beginning of the surface data needs to be computed correctly if the stride is negative, otherwise, it should point already to the beginning of the surface data. This bug seems to exists since 4a208b (0.5.2) https://bugzilla.redhat.com/show_bug.cgi?id=1029646 --- server/red_worker.c | 6 +-

Re: [Spice-devel] [PATCH spice] Fix crash when clearing surface memory

2014-08-07 Thread Christophe Fergeau
On Wed, Aug 06, 2014 at 06:58:42PM +0200, Marc-André Lureau wrote: > The beginning of the surface data needs to be computed correctly if the > stride is negative, otherwise, it should point already to the beginning > of the surface data. This bug seems to exists since 4a208b (0.5.2) > > https://bu

[Spice-devel] [PATCH spice] Fix crash when clearing surface memory

2014-08-06 Thread Marc-André Lureau
The beginning of the surface data needs to be computed correctly if the stride is negative, otherwise, it should point already to the beginning of the surface data. This bug seems to exists since 4a208b (0.5.2) https://bugzilla.redhat.com/show_bug.cgi?id=1029646 --- server/red_worker.c | 4 +++-