diff options
author | 2012-12-11 17:49:24 -0800 | |
---|---|---|
committer | 2012-12-12 19:02:52 -0800 | |
commit | c628937803c652132d21f383736375e2feee4bfb (patch) | |
tree | 41ebffb3fe0b787c34ba2c45f860336f5d27e0ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pstore/ram: Fix undefined usage of rounddown_pow_of_two(0) (diff) | |
download | linux-dev-c628937803c652132d21f383736375e2feee4bfb.tar.xz linux-dev-c628937803c652132d21f383736375e2feee4bfb.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions