Re: [PATCH] Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
From: patchwork-bot+bluetooth
Date: Thu Jan 09 2025 - 11:18:54 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Fri, 27 Dec 2024 17:20:46 +0800 you wrote:
> devm_kstrdup() can return a NULL pointer on failure,but this
> returned value in btbcm_get_board_name() is not checked.
> Add NULL check in btbcm_get_board_name(), to handle kernel NULL
> pointer dereference error.
>
> Fixes: f9183eaad915 ("Bluetooth: btbcm: Use devm_kstrdup()")
> Signed-off-by: Charles Han <hanchunchao@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
https://git.kernel.org/bluetooth/bluetooth-next/c/52d2af107592
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html