Re: [PATCH v3] kdb: Replace deprecated strcpy() with strscpy() and memcpy()
From: Thorsten Blum
Date: Fri Aug 15 2025 - 10:42:01 EST
On 15. Aug 2025, at 16:29, Daniel Thompson wrote:
>
> I like the extra diligence of checking the trailing quote but perhaps
> combine the two if statements (so we only chomp the quotes if there
> are two).
Ok.
Should I replace kdb_strdup() with kdb_strdup_dequote() because it also
handles unquoted strings or do we want to keep both versions? It's only
used in a few places where kdb_strdup_dequote() would also work.
Thanks,
Thorsten