summaryrefslogtreecommitdiff
path: root/lib/trace.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2013-08-16 14:59:14 (GMT)
committerSimon Glass <sjg@chromium.org>2013-09-03 19:30:21 (GMT)
commitafca294289949b118a192b77be947379734ea620 (patch)
treed1f02ebb7651ce6172eb58d03521fb60fbb66cb8 /lib/trace.c
parentb75650d84d4b7892179ae183523011f6d898423d (diff)
downloadu-boot-fsl-qoriq-afca294289949b118a192b77be947379734ea620.tar.xz
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 <keescook@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/trace.c')
0 files changed, 0 insertions, 0 deletions