diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-07-27 19:07:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-07-31 11:07:51 +0200 |
commit | 709709ac6410f4a14ded158a4b23b979e33e10fb (patch) | |
tree | f72d7d905e9d4390db05741ac6641e03e8dc3c37 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 92ed301919932f777713b9172e525674157e983d (diff) |
x86/kaslr: Make command line handling safer
Handle the possibility that the command line is NULL.
Replace open-coded strlen with a function call.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200727230801.3468620-2-nivedita@alum.mit.edu
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions