diff options
| author | 2020-08-02 21:15:34 -0400 | |
|---|---|---|
| committer | 2020-08-06 17:03:19 +0200 | |
| commit | 76167e5c5457aee8fba3edc5b8554183696fc94d (patch) | |
| tree | 7afed64567fa6774fdf259bebff459ea592f031c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | x86/kaslr: Add a check that the random address is in range (diff) | |
| download | linux-rng-76167e5c5457aee8fba3edc5b8554183696fc94d.tar.xz linux-rng-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 <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200803011534.730645-2-nivedita@alum.mit.edu
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
