[cairo-commit] util/cairo-script

Chris Wilson ickle at kemper.freedesktop.org
Sun Jan 13 19:29:49 PST 2013


 util/cairo-script/cairo-script-operators.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 768b81b78eabbebb1bb443355441cac567739035
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Jan 14 03:27:11 2013 +0000

    script: Set decompression length prior to calling decompressors
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59224
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c
index 71d2b79..d423fe5 100644
--- a/util/cairo-script/cairo-script-operators.c
+++ b/util/cairo-script/cairo-script-operators.c
@@ -2961,7 +2961,7 @@ _image_read_raw (csi_t *ctx,
 	len == src->datum.string->deflate)
     {
 	csi_string_t *s = src->datum.string;
-	unsigned long out;
+	unsigned long out = s->deflate;
 
 	switch (s->method) {
 	default:


More information about the cairo-commit mailing list