Re: [PATCH] pstore/ram: Fix bounds checks for mem_size, record_size,console_size and ftrace_size

From: Anton Vorontsov
Date: Wed Dec 12 2012 - 23:05:15 EST


On Tue, Dec 11, 2012 at 05:49:24PM -0800, Arve HjÃnnevÃg wrote:
> The bounds check in ramoops_init_prz was incorrect and ramoops_init_przs
> had no check. Additionally, ramoops_init_przs allows record_size to be 0,
> but ramoops_pstore_write_buf would always crash in this case.
>
> Signed-off-by: Arve HjÃnnevÃg <arve@xxxxxxxxxxx>
> ---

Applied, thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/