Re: [PATCH v2 net-next] net: 6lowpan: replace sprintf() with scnprintf() in debugfs
From: Simon Horman
Date: Fri Jan 09 2026 - 12:24:21 EST
On Tue, Jan 06, 2026 at 05:16:11PM +0000, Kathara Sasikumar wrote:
> sprintf() does not perform bounds checking on the destination buffer.
> Replace it with scnprintf() to ensure the write stays within bounds.
>
> No functional change intended.
>
> Signed-off-by: Kathara Sasikumar <katharasasikumar007@xxxxxxxxx>
> ---
> v2:
> - Updated commit message wording
> - Targeted the patch to net-next
Thanks for the updates.