git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8236c4
)
x86, kaslr: Use char array to gain sizeof sanity
author
Kees Cook
<keescook@chromium.org>
Tue, 12 Nov 2013 16:56:07 +0000
(08:56 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 12 Nov 2013 16:58:35 +0000
(08:58 -0800)
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>
No differences found