dbus_message_iter_open_container called with an invalid signature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus-c++ (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi!
This is an old bug which generate the this exception:
arguments to dbus_message_
This bug has been already reported on sourceforge, but never corrected.
http://
However, the solution is simple and already applied on several dbus-c++ forks:
- in the "async" version maintained by sjames at git://gitorious
- Chromium has the same correction. The log associated with the commit is at:
http://
Basically, the correction is very simple:
diff --git a/src/message.cpp b/src/message.cpp
index 3f0cac4..7afa49b 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -350,7 +350,7 @@ void MessageIter:
(
- from.type() == DBUS_TYPE_VARIANT ? NULL : sig,
+ (from.type() == DBUS_TYPE_STRUCT) || (from.type() == DBUS_TYPE_
);
I would be glad to see this bug corrected in ubuntu.
Best regards,
Bigfoot.
Any way to get this bug fixed? I'm getting bored to compile this lib again and again every 6 months...