Home
last modified time | relevance | path

Searched hist:"70 a6f46d7b0ec03653b9ab3f8063a9717a4a53ef" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dplatform.cdiff 70a6f46d7b0ec03653b9ab3f8063a9717a4a53ef Wed Nov 14 05:49:53 CST 2012 Colin Ian King <colin.king@canonical.com> pstore: Fix NULL pointer dereference in console writes

Passing a NULL id causes a NULL pointer deference in writers such as
erst_writer and efi_pstore_write because they expect to update this id.
Pass a dummy id instead.

This avoids a cascade of oopses caused when the initial
pstore_console_write passes a null which in turn causes writes to the
console causing further oopses in subsequent pstore_console_write calls.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>