Re: [PATCH v2] rbd: replace strcpy() with strscpy()

From: Siddarth Gundu
Date: Mon May 19 2025 - 02:31:57 EST


On Mon, May 19, 2025 at 4:20 AM Siddarth Gundu <siddarthsgml@xxxxxxxxx> wrote:
>
> strcpy() is deprecated; use strscpy() instead.
>
> Both the destination and source buffer are of fixed length
> so strscpy with 2-arguments is used.
>
> Introduce a typedef for cookie array to improve code clarity.
>
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Siddarth Gundu <siddarthsgml@xxxxxxxxx>

Truly sorry for sending this to the wrong mailing list, apologies.
Please Ignore this. Sorry for my mistake.