The build_str needs to be char [] not char * for the sizeof() to report
the string length.
Reported-by: Mathias Krause
Signed-off-by: Kees Cook
---
arch/x86/boot/compressed/aslr.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/aslr.c
The build_str needs to be char [] not char * for the sizeof() to report
the string length.
Reported-by: Mathias Krause mini...@googlemail.com
Signed-off-by: Kees Cook keesc...@chromium.org
---
arch/x86/boot/compressed/aslr.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
2 matches
Mail list logo