From: patchwork-bot+bluetooth@kernel.org
To: Charles Han <hanchunchao@inspur.com>
Cc: marcel@holtmann.org, luiz.dentz@gmail.com,
christophe.jaillet@wanadoo.fr, linux-bluetooth@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
Date: Thu, 09 Jan 2025 16:17:04 +0000 [thread overview]
Message-ID: <173643942423.1375203.4066539140879168020.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241227092046.23304-1-hanchunchao@inspur.com>
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
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@inspur.com>
>
> [...]
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
prev parent reply other threads:[~2025-01-09 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-27 9:20 [PATCH] Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name() Charles Han
2024-12-27 9:54 ` bluez.test.bot
2025-01-09 16:17 ` patchwork-bot+bluetooth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173643942423.1375203.4066539140879168020.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=hanchunchao@inspur.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.