diff options
author | 2025-04-03 21:41:59 +0330 | |
---|---|---|
committer | 2025-05-19 08:54:30 +1000 | |
commit | 245bb7b95aff5f20884c0b635eacb96645eadc84 (patch) | |
tree | 55051d697e0070b883d6c55d55bb3e35f466f689 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | m68k: coldfire: gpio: use new line value setter callbacks (diff) | |
download | linux-rng-245bb7b95aff5f20884c0b635eacb96645eadc84.tar.xz linux-rng-245bb7b95aff5f20884c0b635eacb96645eadc84.zip |
m68k/kernel: replace strncpy() with strscpy()
Swapped out strncpy() for strscpy() in parse_uboot_commandline() while
copying to commandp. strscpy() makes sure the string is properly null-
terminated and gives a more useful return value so it's just a safer
choice overall.
Link: https://github.com/KSPP/linux/issues/90
Signed-off-by: Mohammad Mahdi Anbaraki <m.mahdianbaraki@gmail.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions