linux/fs/pstore
Arve Hjønnevåg c628937803 pstore/ram: Fix bounds checks for mem_size, record_size, console_size and ftrace_size
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@android.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-12-12 19:02:52 -08:00
..
ftrace.c pstore/ftrace: Convert to its own enable/disable debugfs knob 2012-09-06 22:16:58 -07:00
inode.c pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
internal.h pstore/ftrace: Convert to its own enable/disable debugfs knob 2012-09-06 22:16:58 -07:00
Kconfig pstore/ftrace: Convert to its own enable/disable debugfs knob 2012-09-06 22:16:58 -07:00
Makefile pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
platform.c pstore: Fix NULL pointer dereference in console writes 2012-11-14 18:30:21 -08:00
ram_core.c pstore/ram: Make tracing log versioned 2012-07-17 16:48:09 -07:00
ram.c pstore/ram: Fix bounds checks for mem_size, record_size, console_size and ftrace_size 2012-12-12 19:02:52 -08:00