Commit: 60d60166e4bfae8555fb671e5a99952586cc6b56
Parent: d206ab94a79e0c6c96265fca1155caea18405a73
Author: Vinit Mehta <vinit.mehta@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-01-03 22:59:23
Tree: d8ed0dec635f56c990975bb4cc3bdc79633ee1aa

mgmt: Fix crash after pair command After pair command, if the user doesn't provide any input on bluetoothctl CLI interface after receiving the prompt(yes/no) below crash is observed: dbus[782]: arguments to dbus_message_get_no_reply() were incorrect, assertion "message != NULL" failed in file /usr/src/debug/dbus/1.14.10-r0/dbus/dbus-message.c line 3250. This is normally a bug in some application using the D-Bus library. /usr/lib/libc.so.6(+0x27534) [0xffffa1b67534] /usr/lib/libc.so.6(__libc_start_main+0x9c) [0xffffa1b6760c] bluetoothctl(+0x188f0) [0xaaaac9c088f0] Aborted (core dumped)

Diffstat

M client/agent.c | 15 +++++++++- - - - - -
M client/mgmt.c | 12 +++++++++- - -

2 files changed, 18 insertions(+), 9 deletions(-)

View Full Diff | Patch