Re: [PATCH] drbd: Replace deprecated strcpy with strscpy

From: Jens Axboe

Date: Thu Feb 19 2026 - 10:22:51 EST



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