From: patchwork-bot+bluetooth@kernel.org
To: Zhao Dongdong <winter91@foxmail.com>
Cc: linux-bluetooth@vger.kernel.org, zhaodongdong@kylinos.cn
Subject: Re: [PATCH BlueZ v2] device: fix inverted NULL check in gatt_db clone
Date: Mon, 18 May 2026 22:30:05 +0000 [thread overview]
Message-ID: <177914340564.1994926.16942800321099150405.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <tencent_017770C54B37BDA20BEEC119272E1AED0608@qq.com>
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Mon, 18 May 2026 14:45:32 +0800 you wrote:
> From: Zhao Dongdong <zhaodongdong@kylinos.cn>
>
> gatt_db_clone() returns NULL on failure so the condition was inverted.
> With the old check a successful clone (non-NULL) would return false and
> skip swapping the device's GATT database, while a failure (NULL) would
> fall through and dereference a NULL pointer a few lines below.
>
> [...]
Here is the summary with links:
- [BlueZ,v2] device: fix inverted NULL check in gatt_db clone
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=757cd98f4186
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:[~2026-05-18 22:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 6:45 [PATCH BlueZ v2] device: fix inverted NULL check in gatt_db clone Zhao Dongdong
2026-05-18 9:48 ` [BlueZ,v2] " bluez.test.bot
2026-05-18 22:30 ` 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=177914340564.1994926.16942800321099150405.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=winter91@foxmail.com \
--cc=zhaodongdong@kylinos.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox