diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-01-12 18:04:12 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-02-19 08:22:02 -0700 |
| commit | 81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1 (patch) | |
| tree | a6d96585edf9f060ac5ae886bcd498ade8413685 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | ab140365fb62c0bdab22b2f516aff563b2559e3b (diff) | |
drbd: 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]
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
