]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lzma: ignore unset filesizes
authorMike Frysinger <vapier@gentoo.org>
Fri, 4 Dec 2009 10:35:15 +0000 (05:35 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 5 Dec 2009 00:49:52 +0000 (01:49 +0100)
commitf68ab43de67f59925542efb6bcec30f4a84fe695
treeaa9a6c76783a1437326180aec13f3e3d4b01ab8b
parentcccfc2ab77877dbdd2abe26b28d4c1f467feb0c0
lzma: ignore unset filesizes

The Linux kernel build system changed how it compresses things with LZMA
such that the header no longer contains the filesize (it is instead set to
all F's).  So if we get a LZMA image that has -1 for the 64bit field,
let's just assume that the decompressed size is unknown and continue on.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib_generic/lzma/LzmaTools.c