mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-05 21:44:21 +00:00
add another lzma pcomp fix by jeff hansen - fixes cleanup at the end of do_lzma processing
SVN-Revision: 17036
This commit is contained in:
parent
a5a0ef7ab7
commit
57eaa31a12
@ -1,6 +1,6 @@
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/crypto/unlzma.c
|
+++ b/crypto/unlzma.c
|
||||||
@@ -0,0 +1,721 @@
|
@@ -0,0 +1,723 @@
|
||||||
+/*
|
+/*
|
||||||
+ * LZMA uncompresion module for pcomp
|
+ * LZMA uncompresion module for pcomp
|
||||||
+ * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org>
|
+ * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org>
|
||||||
@ -526,6 +526,8 @@
|
|||||||
+ if (unlzma_should_stop(ctx))
|
+ if (unlzma_should_stop(ctx))
|
||||||
+ break;
|
+ break;
|
||||||
+ }
|
+ }
|
||||||
|
+ if (likely(!unlzma_should_stop(ctx)))
|
||||||
|
+ rc_normalize(ctx);
|
||||||
+
|
+
|
||||||
+ return ctx->pos;
|
+ return ctx->pos;
|
||||||
+}
|
+}
|
||||||
|
Loading…
Reference in New Issue
Block a user