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

Jens Axboe <[email protected]> Thu, 19 Feb 2026 08:22:20 -0700
Newsgroups dev.linux.lists.drbd-dev,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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