2022-05-11 23:34:02

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Fix the creation of hdev->name

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Sat, 7 May 2022 08:32:48 -0400 you wrote:
> Set a size limit of 8 bytes of the written buffer to "hdev->name"
> including the terminating null byte, as the size of "hdev->name" is 8
> bytes. If an id value which is greater than 9999 is allocated,
> then the "snprintf(hdev->name, sizeof(hdev->name), "hci%d", id)"
> function call would lead to a truncation of the id value in decimal
> notation.
>
> [...]

Here is the summary with links:
- Bluetooth: Fix the creation of hdev->name
https://git.kernel.org/bluetooth/bluetooth-next/c/29aff7408263

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html