[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260109172416.GL345651@kernel.org>
Date: Fri, 9 Jan 2026 17:24:16 +0000
From: Simon Horman <horms@...nel.org>
To: Kathara Sasikumar <katharasasikumar007@...il.com>
Cc: alex.aring@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux-bluetooth@...r.kernel.org,
linux-wpan@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: 6lowpan: replace sprintf() with
scnprintf() in debugfs
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@...il.com>
> ---
> v2:
> - Updated commit message wording
> - Targeted the patch to net-next
Thanks for the updates.
Powered by blists - more mailing lists