diff options
| author | Arvind Sankar <[email protected]> | 2020-08-03 01:15:34 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-08-06 15:03:19 +0000 |
| commit | 76167e5c5457aee8fba3edc5b8554183696fc94d (patch) | |
| tree | 7afed64567fa6774fdf259bebff459ea592f031c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | x86/kaslr: Add a check that the random address is in range (diff) | |
| download | kernel-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
