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
afca294. While
at it add additional debug message.
Signed-off-by: Antonios Vamporakis <[email protected]>
CC: Kees Cook <[email protected]>
CC: Simon Glass <[email protected]>
CC: Daniel Schwierzeck <[email protected]>
CC: Luka Perkov <[email protected]>