diff options
| author | Zhao Hongjiang <[email protected]> | 2013-06-09 16:57:58 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-19 02:10:29 -0700 |
| commit | 117a0c5fc9c2d06045bd217385b2b39ea426b5a6 (patch) | |
| tree | 5023fb469da9fc796e80a1fdb919a2cad0d4cedb /tools/perf/scripts/python/bin/syscall-counts-report | |
| parent | 242ece22f0bd90e237365e51c5bd90a21693d6c3 (diff) | |
sparc: kernel: using strlcpy() instead of strcpy()
'boot_command_line' and 'full_boot_str' has a fix length, 'cmdline_p' and
'boot_command' maybe larger than them. So use strlcpy() instead of strcpy()
to avoid memory overflow.
Signed-off-by: Zhao Hongjiang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-report')
0 files changed, 0 insertions, 0 deletions