Re: [PATCH] Bluetooth: replace deprecated strncpy with strscpy_pad

2024-09-10 Thread patchwork-bot+bluetooth
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : 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 interfa

[PATCH] Bluetooth: replace deprecated strncpy with strscpy_pad

2024-09-05 Thread Justin Stitt
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