From: Kees Cook Date: Tue, 12 Nov 2013 16:56:07 +0000 (-0800) Subject: x86, kaslr: Use char array to gain sizeof sanity X-Git-Tag: v3.14-rc1~156^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327f7d72454aecdc7a4a1c847a291a3f224b730f;p=pandora-kernel.git 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 Signed-off-by: Kees Cook Link: http://lkml.kernel.org/r/20131112165607.GA5921@www.outflux.net Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed