Re: [PATCH] Bluetooth: bnep: refactor deprecated strcpy
From: patchwork-bot+bluetooth
Date: Tue Aug 11 2026 - 16:13:09 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
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