diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-11-26 12:44:15 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-12-10 16:07:42 -0800 |
| commit | d86fea4294cb7878e3866eb567ee803d180a159b (patch) | |
| tree | e76fc7773563b9ccfed0a9c4458cbc5535905afa /tools/perf/scripts/python | |
| parent | ocfs2: check tl_used after reading it from trancate log inode (diff) | |
| download | linux-d86fea4294cb7878e3866eb567ee803d180a159b.tar.gz linux-d86fea4294cb7878e3866eb567ee803d180a159b.zip | |
ocfs2: replace deprecated strcpy with strscpy
strcpy() has been deprecated [1] because it performs no bounds checking on
the destination buffer, which can lead to buffer overflows. Replace it
with the safer strscpy(). No functional changes.
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Link: https://lkml.kernel.org/r/20251126114419.92539-1-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
