diff options
| author | Xu Panda <xu.panda@zte.com.cn> | 2023-01-05 15:24:34 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 16:34:09 +0300 |
| commit | a43e3115fbea2f9ba040a183aab300e0abf9cb67 (patch) | |
| tree | 2cb3f31f5456440889910297273a10463557766a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | beb060ed20d5d5a54754cf78c38731a6a5cb0f18 (diff) | |
| download | linux-a43e3115fbea2f9ba040a183aab300e0abf9cb67.tar.xz | |
s390/zcrypt: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer.
That's now the recommended way to copy NUL-terminated strings.
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Link: https://lore.kernel.org/r/202301052024349365834@zte.com.cn
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
