Incoming call signatures should be checked against the method
Bug #327740 reported by
alp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do Plugins |
Invalid
|
Undecided
|
Unassigned | ||
NDesk D-Bus |
New
|
Undecided
|
Unassigned |
Bug Description
If the signature on an incoming method call, method reply or signal does not match the signature of the managed handler, the handler is currently invoked anyway. This leads to obscure bugs in applications.
To post a comment you must log in.
I have Gnome Do 0.8 and Twitter plugin installed.
It works fine when receiving updates.
But after the notification message disappered, Gnome Do exit Immediately.
This is the backtrace
Creating package Do.Microblog_ 1.0.mpack
Installing Microblogging (Twitter) v1.0
[Error 13:56:52.208] Missing login credentials. Please set login information in plugin configuration.
Unhandled Exception: System. IndexOutOfRange Exception: Array index is out of range. MessageReader. MarshalUInt (byte*) <0x00033> MessageReader. ReadUInt32 () <0x00014> MessageReader. ReadValue (NDesk.DBus.DType) <0x00109> MessageReader. ReadValue (System.Type) <0x0027d> MessageHelper. GetDynamicValue s (NDesk. DBus.Message, System. Reflection. ParameterInfo[ ]) <0x000c2> Connection. HandleSignal (NDesk. DBus.Message) <0x000fb> Connection. DispatchSignals () <0x00034> Connection. Iterate () <0x00033> BusG/<> c__CompilerGene rated0. <Init>c_ _1 (intptr, NDesk.GLib. IOCondition, intptr) <0x0002e> BusG/<> c__CompilerGene rated0. <Init>c_ _1 (intptr, NDesk.GLib. IOCondition, intptr) <0x00034> .gtk_main () <0x00004>
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at (wrapper native-to-managed) NDesk.DBus.
at (wrapper managed-to-native) Gtk.Application
at Gtk.Application.Run () <0x0000a>
at Do.Do.Main (string[]) <0x001e8>