aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2025-07-12 14:12:48 -0400
committerTheodore Ts'o <tytso@mit.edu>2025-07-17 23:25:21 -0400
commita35454ecf8a320c49954fdcdae0e8d3323067632 (patch)
treeedf900a21a3a4538cdb3b3812b6f5bc8f1239dff /tools/perf/scripts/python
parentext4: replace strcmp with direct comparison for '.' and '..' (diff)
downloadwireguard-linux-a35454ecf8a320c49954fdcdae0e8d3323067632.tar.xz
wireguard-linux-a35454ecf8a320c49954fdcdae0e8d3323067632.zip
ext4: use memcpy() instead of strcpy()
The strcpy() function is considered dangerous and eeeevil by people who are using sophisticated code analysis tools such as "grep". This is true even when a quick inspection would show that the source is a constant string ("." or "..") and the destination is a fixed array which is guaranteed to have enough space. Make the "grep" code analysis tool happy by using memcpy() isstead of strcpy(). :-) Signed-off-by: Theodore Ts'o <tytso@mit.edu> Link: https://patch.msgid.link/20250712181249.434530-2-tytso@mit.edu Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions