[U-Boot] [PATCH 5/6] lzo: correctly bounds-check output buffer

2013-08-16 Thread Kees Cook
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 keesc...@chromium.org Acked-by: Simon Glass s...@chromium.org --- lib/lzo/lzo1x_decompress.c |8 +++- 1 file changed, 7 insertions(+), 1

Re: [U-Boot] [PATCH 5/6] lzo: correctly bounds-check output buffer

2013-08-14 Thread Simon Glass
On Mon, Aug 12, 2013 at 5:02 PM, Kees Cook keesc...@chromium.org wrote: 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 keesc...@chromium.org Acked-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH 5/6] lzo: correctly bounds-check output buffer

2013-08-12 Thread Kees Cook
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 keesc...@chromium.org --- lib/lzo/lzo1x_decompress.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git