Acked-by: Christophe Fergeau <cferg...@redhat.com>
(this code has been there forever in git, so this is not caused by some
buggy modification to it).

On Mon, Apr 04, 2016 at 10:03:37AM +0200, Fabiano Fidêncio wrote:
> len is overwritten in the match label with the value from
> "ip - anchor".
> ---
>  common/lz_compress_tmpl.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
> index 3162a96..e316c4b 100644
> --- a/common/lz_compress_tmpl.c
> +++ b/common/lz_compress_tmpl.c
> @@ -214,9 +214,7 @@ static void FNAME(compress_seg)(Encoder *encoder, 
> LzImageSegment *seg, PIXEL *fr
>                  ip += 3;
>                  ref = anchor + 2;
>                  ref_limit = (PIXEL *)(seg->lines_end);
> -#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32)
> -                len = 3;
> -#endif
> +
>                  goto match;
>              }
>          }
> -- 
> 2.7.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to