diff options
author | Colin Ian King <[email protected]> | 2012-11-14 11:49:53 +0000 |
---|---|---|
committer | Anton Vorontsov <[email protected]> | 2012-11-14 18:30:21 -0800 |
commit | 70a6f46d7b0ec03653b9ab3f8063a9717a4a53ef (patch) | |
tree | 9083a77f2a4c97e1658a3db8019f29599a4dd187 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) |
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 <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: [email protected]
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions