This tree cleans up and simplifies the x86 KASLR code, and
also fixes some corner case bugs.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
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
1 file changed