diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-01-12 20:04:12 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-02-19 18:22:02 +0300 |
| commit | 81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1 (patch) | |
| tree | a6d96585edf9f060ac5ae886bcd498ade8413685 /include | |
| parent | ab140365fb62c0bdab22b2f516aff563b2559e3b (diff) | |
| download | linux-81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
