Re: [PATCH] kconfig/lxdialog: replace strcpy() with strscpy() in inputbox.c
From: Suchit K
Date: Fri Jul 25 2025 - 10:36:57 EST
>
> Did you compile-test this? strscpy() is not available for user-space.
>
Hi,
Apologies. I didn't compile the change earlier since it was just a
replacement of strcpy with strscpy, and I completely forgot that I was
working with userspace tools. After seeing your comment, I tried
compiling it and I encountered an error. Would it be more appropriate
to use memcpy or strlcpy instead in this case? I'd really appreciate
your guidance on the correct approach here. Thank you!