[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121213035648.GA15226@lizard.lan>
Date: Wed, 12 Dec 2012 20:01:59 -0800
From: Anton Vorontsov <anton.vorontsov@...aro.org>
To: Arve Hjønnevåg <arve@...roid.com>
Cc: linux-kernel@...r.kernel.org, Colin Cross <ccross@...roid.com>,
Kees Cook <keescook@...omium.org>,
Tony Luck <tony.luck@...el.com>
Subject: Re: [PATCH] pstore/ram: Fix bounds checks for mem_size, record_size,
console_size and ftrace_size
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@...roid.com>
> ---
Applied, thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists