bluez-pin doesn't work with current dbus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez-pin (Ubuntu) |
Incomplete
|
Medium
|
Charles Majola |
Bug Description
ubuntu dapper,
bluez-pin: 0.25-1ubuntu2
bluez-utils: 2.24-0ubuntu4
libdbus-glib-1-2: 0.60-6ubuntu3
bluez-pin --dbus doesn't work:
because of incorrect message parsing wrt dbus, bluez-pin doesn't work (assertions in libdbus-glib hit). The following patch fixes this:
--- orig/bluez-
+++ bluez-pin-
@@ -88,24 +88,30 @@
dbus_
- if (! dbus_message_
+ if (! dbus_message_
+ || dbus_message_
{
reply = dbus_message_
goto error;
}
- type = dbus_message_
- dbus_message_
-
- if (type != DBUS_TYPE_ARRAY
- || nbytes != sizeof (bdaddr))
+ dbus_message_
+ if (dbus_message_
{
reply = dbus_message_
goto error;
}
+ dbus_message_
+ if (nbytes != sizeof (bdaddr))
+ {
+ reply = dbus_message_
+ "Invalid array given");
+ goto error;
+ }
+
memcpy (&bdaddr, bytes, sizeof (bdaddr));
reply = dbus_message_
i.e. a call to dbus_message_
description: | updated |
summary: |
+ ubuntu dapper, + bluez-pin: 0.25-1ubuntu2 + bluez-utils: 2.24-0ubuntu4 + libdbus-glib-1-2: 0.60-6ubuntu3 |
Changed in bluez-pin: | |
assignee: | nobody → chmj |
Hi can you help me with some steps to reproduce tis bug?
please tell me the error message.
i've got issues with bluez-pin and i want to know if it's the same issue