commit | 327f7d72454aecdc7a4a1c847a291a3f224b730f | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Nov 12 08:56:07 2013 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Tue Nov 12 08:58:35 2013 -0800 |
tree | e9012b05ecec74140256e62ca7d1a4388cd46198 | |
parent | e8236c4d9338d52d0f2fcecc0b792ac0542e4ee9 [diff] |
x86, kaslr: Use char array to gain sizeof sanity The build_str needs to be char [] not char * for the sizeof() to report the string length. Reported-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: http://lkml.kernel.org/r/20131112165607.GA5921@www.outflux.net Signed-off-by: H. Peter Anvin <hpa@zytor.com>