summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jffsX-utils/compr_lzo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jffsX-utils/compr_lzo.c b/jffsX-utils/compr_lzo.c
index d2e2afc..56aa1b4 100644
--- a/jffsX-utils/compr_lzo.c
+++ b/jffsX-utils/compr_lzo.c
@@ -73,6 +73,7 @@ static int jffs2_lzo_decompress(unsigned char *data_in, unsigned char *cpage_out
int ret;
lzo_uint dl;
+ dl = destlen;
ret = lzo1x_decompress_safe(data_in,srclen,cpage_out,&dl,NULL);
if (ret != LZO_E_OK || dl != destlen)