commit | 709709ac6410f4a14ded158a4b23b979e33e10fb | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Mon Jul 27 19:07:54 2020 -0400 |
committer | Ingo Molnar <mingo@kernel.org> | Fri Jul 31 11:07:51 2020 +0200 |
tree | f72d7d905e9d4390db05741ac6641e03e8dc3c37 | |
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