Re: [PATCH v2 4/4] kdb: Replace deprecated strcpy() with helper function in kdb_defcmd()
From: Thorsten Blum
Date: Mon Sep 08 2025 - 06:28:43 EST
Hi Daniel,
On 19. Aug 2025, at 11:59, Thorsten Blum wrote:
> strcpy() is deprecated; use the new helper function kdb_strdup_dequote()
> instead. In addition to string duplication similar to kdb_strdup(), it
> also trims surrounding quotes from the input string if present.
>
> kdb_strdup_dequote() also checks for a trailing quote in the input
> string which was previously not checked.
>
> Link: https://github.com/KSPP/linux/issues/88
> Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
Could you give this series another look? All four patches have been
reviewed by Doug and it still applies to -next.
Thanks,
Thorsten