aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-08-03 01:15:34 +0000
committerIngo Molnar <[email protected]>2020-08-06 15:03:19 +0000
commit76167e5c5457aee8fba3edc5b8554183696fc94d (patch)
tree7afed64567fa6774fdf259bebff459ea592f031c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentx86/kaslr: Add a check that the random address is in range (diff)
downloadkernel-76167e5c5457aee8fba3edc5b8554183696fc94d.tar.gz
kernel-76167e5c5457aee8fba3edc5b8554183696fc94d.zip
x86/kaslr: Replace strlen() with strnlen()
strnlen is safer in case the command line is not NUL-terminated. Signed-off-by: Arvind Sankar <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions