1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-21 16:19:00 +03:00

add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17036 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-07-28 09:07:07 +00:00
parent 6c16c24b87
commit d7da1b9f00

View File

@ -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 <nbd@openwrt.org>
@ -526,6 +526,8 @@
+ if (unlzma_should_stop(ctx))
+ break;
+ }
+ if (likely(!unlzma_should_stop(ctx)))
+ rc_normalize(ctx);
+
+ return ctx->pos;
+}