[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172598043203.283578.7669553872558102167.git-patchwork-notify@kernel.org>
Date: Tue, 10 Sep 2024 15:00:32 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Justin Stitt <justinstitt@...gle.com>
Cc: isdn@...ux-pingi.de, marcel@...tmann.org, johan.hedberg@...il.com,
luiz.dentz@...il.com, netdev@...r.kernel.org,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
kees@...nel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: replace deprecated strncpy with strscpy_pad
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Thu, 05 Sep 2024 15:54:40 -0700 you wrote:
> strncpy() is deprecated for use on NUL-terminated destination strings [0]
> and as such we should prefer more robust and less ambiguous string interfaces.
>
> The CAPI (part II) [1] states that the manufacturer id should be a
> "zero-terminated ASCII string" and should "always [be] zero-terminated."
>
> Much the same for the serial number: "The serial number, a seven-digit
> number coded as a zero-terminated ASCII string".
>
> [...]
Here is the summary with links:
- Bluetooth: replace deprecated strncpy with strscpy_pad
https://git.kernel.org/bluetooth/bluetooth-next/c/278dcc36b992
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists