[U-Boot] [PATCH 6/6] bootm: correctly bounds-check decompression

Simon Glass sjg at chromium.org
Wed Aug 14 19:46:41 CEST 2013


Hi Kees,

On Mon, Aug 12, 2013 at 5:02 PM, Kees Cook <keescook at chromium.org> wrote:
> This passes the actual memory allocation size for the destination to the
> decompression routines, avoiding potential memory overflows.
>
> Signed-off-by: Kees Cook <keescook at chromium.org>

Acked-by: Simon Glass <sjg at chromium.org>

(doesn't actually change the result since this parameter is ignored,
but it is certainly cleaner, thank you)

Regards,
Simon


More information about the U-Boot mailing list