mgmt: Fix crash after pair command
Status from this message: This patch was applied to bluetooth/bluez.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 1 replyApplied
- v11 patch 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | mgmt: Fix crash after pair commandclient/ client/ | +18 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH BlueZ v2 0/1] mgmt: Fix crash after pair command
Hello Maintainers
This patch fixes assertion in bluetoothctl client process
After pair command, if the user doesn't provide any input on bluetoothctl CLI interface after receiving the prompt(yes/no), than subsequent CLI command will trigger a call to DBUS library function (dbus_message_get_no_reply) with a NULL message pointer which triggers assertion in DBUS library causing the bluetoothctl process to crash. The change is done in confirm_response callback to trigger a DBUS API error call only if the pending_message pointer is not NULL so as to avoid the assertion.
Thank you in advance for your review.
Warm Regards
Vinit Mehta
Vinit Mehta (1):
mgmt: Fix crash after pair command
client/agent.c | 15 +++++++++------ client/mgmt.c | 12 +++++++++--- 2 files changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.42.0.windows.2