Skip to content
Snippets Groups Projects
Commit 4d3b8a0d authored by Antonios Vamporakis's avatar Antonios Vamporakis Committed by Tom Rini
Browse files

lzma: fix buffer bound check error


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 afca2942. While
at it add additional debug message.

Signed-off-by: default avatarAntonios Vamporakis <ant@area128.com>
CC: Kees Cook <keescook@chromium.org>
CC: Simon Glass <sjg@chromium.org>
CC: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
CC: Luka Perkov <luka@openwrt.org>
parent cddb6b83
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment