Re: [PATCH] bcachefs: replace deprecated strncpy with strscpy
From: Daniel Yang
Date: Thu Nov 14 2024 - 02:56:51 EST
On Wed, Nov 13, 2024 at 6:21 PM Kent Overstreet
<kent.overstreet@xxxxxxxxx> wrote:
> strncpy is correct here, we don't need the output to be nul terminated
If dest is not NULL terminated, then core API recommends using strtomem instead.