]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: set max decompression size for LZO
authorKees Cook <keescook@chromium.org>
Tue, 15 Apr 2014 17:28:12 +0000 (10:28 -0700)
committerTom Rini <trini@ti.com>
Fri, 18 Apr 2014 15:43:36 +0000 (11:43 -0400)
commit77cc8902e98f4b4a36688f454a07ad7bc82793a2
tree1668ffa4c7e0131d1de88511a36a91afd6b512b7
parent0e6256d0770f5f2bda80e9ce1aa8dd404de4bcdf
bootm: set max decompression size for LZO

The LZO decompressor wasn't initializing the maximum output size, which
meant it would fail to decompress most of the time.

Reported-by: Matthias Weißer <weisserm@arcor.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Matthias Weißer <weisserm@arcor.de>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_bootm.c