[Spice-devel] [PATCH spice-server 1/2] red_worker: fix sending internal images with stride > bpp*width to lz compression

Uri Lublin uril at redhat.com
Thu Nov 29 01:25:40 PST 2012


On 11/28/2012 09:10 PM, Yonit Halperin wrote:
> rhbz#876685
>
> The current lz implementation does not support such bitmaps.
> The following patch will actually prevent allocating stride>  bpp*width
> for internal images.

Hi Yonit,

This (together with the second patch) is a better fix than the one I had.
Actually the second patch is enough to fix the bug, but this patch makes 
it safer.

Maybe a better subject would be:
   red_worker: do not send internal images with stride > bpp*width to 
lz_compression.  or
   red_worker: do not lz compress internal images with stride > bpp*width

Uri.




More information about the Spice-devel mailing list