Re: [PATCH] Bluetooth: replace deprecated strncpy with strscpy_pad
From: patchwork-bot+bluetooth
Date: Tue Sep 10 2024 - 11:00:44 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
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