diff options
author | Kees Cook <keescook@chromium.org> | 2017-05-16 22:03:31 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-05-31 20:13:42 +0300 |
commit | 656de42e83379e5348e3f4236ff1d79353edfb28 (patch) | |
tree | 08af3b75f5c4b4a6e725d19ce45d3455c9081286 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f6525b96dd9f68efe374e5aef864975e628de991 (diff) | |
download | linux-656de42e83379e5348e3f4236ff1d79353edfb28.tar.xz |
pstore: Avoid potential infinite loop
If a backend does not correctly iterate through its records, pstore will
get stuck loading entries. Detect this with a large record count, and
announce if we ever hit the limit. This will let future backend reading
bugs less annoying to debug. Additionally adjust the error about
pstore_mkfile() failing.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions