Re: [PATCH] Bluetooth: bnep: refactor deprecated strcpy
| Newsgroups | org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178647901788.1134064.15151706764322926988.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>: On Tue, 11 Aug 2026 09:49:32 +0000 you wrote: > The strcpy() function is deprecated across the kernel tree and > moving towards complete elimination. It provides no verification > limits against buffer overflows and does not guarantee strict boundary > restrictions [1][2]. > > Replace instances of strcpy() in `net/bluetooth/bnep/core.c` with the safer > strscpy() alternative. Since both target destination blocks are > statically allocated fixed-size arrays within their structure definitions, > leverage the compile time sizeof() operator to explicitly pass the > destination buffer capacities. > > [...] Here is the summary with links: - Bluetooth: bnep: refactor deprecated strcpy https://git.kernel.org/bluetooth/bluetooth-next/c/6d5e3062ef68 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html