summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-14 03:27:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-14 03:27:11 +0000
commit768b81b78eabbebb1bb443355441cac567739035 (patch)
tree37bb3b9784a3bfa99909bee2995ecdd9ce063ddd
parent6639c1231072d71d33eb0952bae5f95e7480cd0d (diff)
script: Set decompression length prior to calling decompressors
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59224 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--util/cairo-script/cairo-script-operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c
index 71d2b79b..d423fe53 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: