]> git.sur5r.net Git - u-boot/commit
lzo: correctly bounds-check output buffer
authorKees Cook <keescook@chromium.org>
Fri, 16 Aug 2013 14:59:15 +0000 (07:59 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 3 Sep 2013 19:30:23 +0000 (13:30 -0600)
commitff9d2efdbf1b3b5263f81e843c6724b8bead7f1f
tree29d4f744ce001d3d3602da6077d1cc0f42353422
parentafca294289949b118a192b77be947379734ea620
lzo: correctly bounds-check output buffer

This checks the size of the output buffer and fails if it was going to
overflow the buffer during lzo decompression.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
lib/lzo/lzo1x_decompress.c