From: Felix Fietkau Date: Tue, 28 Jul 2009 09:07:07 +0000 (+0000) Subject: add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma proce... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=1e476b7123e08df76ea7696106269fc7560f2cbb;ds=inline add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing SVN-Revision: 17036 --- diff --git a/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch b/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch index 5a5b24f0a5..75dfc376a6 100644 --- a/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch +++ b/target/linux/generic-2.6/patches-2.6.30/052-pcomp_lzma_support.patch @@ -1,6 +1,6 @@ --- /dev/null +++ b/crypto/unlzma.c -@@ -0,0 +1,721 @@ +@@ -0,0 +1,723 @@ +/* + * LZMA uncompresion module for pcomp + * Copyright (C) 2009 Felix Fietkau @@ -526,6 +526,8 @@ + if (unlzma_should_stop(ctx)) + break; + } ++ if (likely(!unlzma_should_stop(ctx))) ++ rc_normalize(ctx); + + return ctx->pos; +}