lantiq: Fix fw_cutter LzmaWrapper
authorChristian Franke <nobody@nowhere.ws>
Thu, 17 Oct 2019 13:12:05 +0000 (15:12 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 18 Oct 2019 11:45:23 +0000 (13:45 +0200)
commit3468a4435a25268068b018e47c8da84d51440b5b
tree4dc1431d4be55ef06135da43be9d875f47103a6a
parentc987955f8242fb742e88ad2e8eebeeba329c1b0f
lantiq: Fix fw_cutter LzmaWrapper

The destination buffer size `d_len` is passed to `lzma_inflate` as a
pointer. Therefore, it needs to be dereferenced to compare its content.

Signed-off-by: Christian Franke <nobody@nowhere.ws>
(cherry picked from commit d544bc84a07f299ac1e513715301cae5fbd30923)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.c