diff options
author | 2020-10-13 16:55:48 -0700 | |
---|---|---|
committer | 2020-10-13 18:38:33 -0700 | |
commit | fdd4fa1cd90441fd1d393e49c21c00ed73ef929c (patch) | |
tree | 8922d0921b095163533af66cc31eaa8cc4ec6d12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/page_alloc.c: micro-optimization remove unnecessary branch (diff) | |
download | linux-dev-fdd4fa1cd90441fd1d393e49c21c00ed73ef929c.tar.xz linux-dev-fdd4fa1cd90441fd1d393e49c21c00ed73ef929c.zip |
mm/page_alloc.c: fix early params garbage value accesses
Previously in '__init early_init_on_alloc' and '__init early_init_on_free'
the return values from 'kstrtobool' were not handled properly. That
caused potential garbage value read from variable 'bool_result'.
Introduced patch fixes error handling.
Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200916214125.28271-1-mateusznosek0@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions