Re: [PATCH v2 1/8] x86/kaslr: Make command line handling safer

2020-07-28 Thread Kees Cook
On Mon, Jul 27, 2020 at 07:07:54PM -0400, Arvind Sankar wrote: > Handle the possibility that the command line is NULL. > > Replace open-coded strlen with a function call. > > Signed-off-by: Arvind Sankar Reviewed-by: Kees Cook -- Kees Cook

[PATCH v2 1/8] x86/kaslr: Make command line handling safer

2020-07-27 Thread Arvind Sankar
Handle the possibility that the command line is NULL. Replace open-coded strlen with a function call. Signed-off-by: Arvind Sankar --- arch/x86/boot/compressed/kaslr.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/x86/boot/compressed/kaslr.c