commit | 76167e5c5457aee8fba3edc5b8554183696fc94d | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Sun Aug 02 21:15:34 2020 -0400 |
committer | Ingo Molnar <mingo@kernel.org> | Thu Aug 06 17:03:19 2020 +0200 |
tree | 7afed64567fa6774fdf259bebff459ea592f031c | |
parent | f49236ae424d499d02ee3ce35fb9130ddf95b03f [diff] |
x86/kaslr: Replace strlen() with strnlen() strnlen is safer in case the command line is not NUL-terminated. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200803011534.730645-2-nivedita@alum.mit.edu