[PATCH] drbd: Replace deprecated strcpy with strscpy
Jens Axboe
axboe at kernel.dk
Thu Feb 19 16:22:20 CET 2026
On Mon, 12 Jan 2026 18:04:12 +0100, Thorsten Blum wrote:
> 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.
>
>
Applied, thanks!
[1/1] drbd: Replace deprecated strcpy with strscpy
commit: 81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1
Best regards,
--
Jens Axboe
More information about the drbd-dev
mailing list