mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 17:54:43 +02:00
merge r17683 to 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17701 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd04be2714
commit
15590d9848
@ -1,6 +1,6 @@
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/crypto/unlzma.c
|
+++ b/crypto/unlzma.c
|
||||||
@@ -0,0 +1,772 @@
|
@@ -0,0 +1,775 @@
|
||||||
+/*
|
+/*
|
||||||
+ * 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>
|
||||||
@ -636,6 +636,9 @@
|
|||||||
+ return -EINVAL;
|
+ return -EINVAL;
|
||||||
+
|
+
|
||||||
+ ret = nla_parse(tb, UNLZMA_DECOMP_MAX, p, len, NULL);
|
+ ret = nla_parse(tb, UNLZMA_DECOMP_MAX, p, len, NULL);
|
||||||
|
+ if (ret)
|
||||||
|
+ return ret;
|
||||||
|
+
|
||||||
+ if (!tb[UNLZMA_DECOMP_OUT_BUFFERS])
|
+ if (!tb[UNLZMA_DECOMP_OUT_BUFFERS])
|
||||||
+ return -EINVAL;
|
+ return -EINVAL;
|
||||||
+
|
+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user