Your message dated Sat, 30 Dec 2006 14:39:11 +0100
with message-id <[EMAIL PROTECTED]>
and subject line package has been removed from the archive
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bluez-pin
Version: 0.30-2.1

bluez-pin in D-BUS mode crashes when user presses the Cancel button.


Attached is a simple patch to avoid this. Since the bluez hcid does have any official reply to refuse a PIN, we simply send out a reply without the PIN argument.

--- pin-dbus.c.old	2006-06-16 21:39:05.000000000 +0300
+++ pin-dbus.c	2006-06-16 21:45:49.000000000 +0300
@@ -46,9 +46,13 @@
   if (pin)
     dbus_message_iter_append_string (&iter, pin);
 #else
-  dbus_message_append_args(message,
-			DBUS_TYPE_STRING, &pin,
-			DBUS_TYPE_INVALID);
+  if (pin)
+    dbus_message_append_args(message,
+                             DBUS_TYPE_STRING, &pin,
+                             DBUS_TYPE_INVALID);
+  else
+    dbus_message_append_args(message,
+                             DBUS_TYPE_INVALID);
 #endif
 
   dbus_connection_send (connection, message, NULL);

--- End Message ---
--- Begin Message ---
Hi,
the bluez-pin package has been removed from the archive so I'm closing this bug,
feel free to reopen if appropriate.

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

"UNIX was not designed to stop its users from doing stupid things, as that
would also stop them from doing clever things."
-- Doug Gwyn

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to