[U-Boot] lzma: fix buffer bound check error

Tom Rini trini at ti.com
Tue Jan 14 22:02:31 CET 2014


On Tue, Dec 31, 2013 at 02:57:01AM +0100, Antonios Vamporakis wrote:

> Variable uncompressedSize references the space available, while outSizeFull is
> the actual expected uncompressed size. Using the wrong value causes LzmaDecode
> to return SZ_ERROR_INPUT_EOF. Problem was introduced in commit afca294. While
> at it add additional debug message.
> 
> Signed-off-by: Antonios Vamporakis <ant at area128.com>
> CC: Kees Cook <keescook at chromium.org>
> CC: Simon Glass <sjg at chromium.org>
> CC: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> CC: Luka Perkov <luka at openwrt.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140114/9c5cedd5/attachment.pgp>


More information about the U-Boot mailing list