Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lzma: correctly bounds-check output buffer
The output buffer size must be correctly passed to the lzma decoder or there is a risk of overflowing memory during decompression. Switching to the LZMA_FINISH_END mode means nothing is left in an unknown state once the buffer becomes full. Signed-off-by: Kees Cook <[email protected]> Acked-by: Simon Glass <[email protected]>
- Loading branch information