Fix a crash in funcsig_hash
Colin Walters
walters at verbum.org
Thu Jun 16 12:47:50 PDT 2005
On Thu, 2005-06-16 at 11:52 -0700, Ryan Gammon wrote:
> I was trying out registering some custom marshallers with the glib
> bindings, and came across a crash in dbus-gobject.c: funcsig_hash where:
>
> sig->params = NULL
> sig->n_params = 0
>
> Maybe something like the below is a step in the right direction.
That looks right, we also need the corresponding fix for funcsig_equal.
I went ahead and committed that.
The custom marshallers stuff needs more testing though; it needs
work/testing along with the rest of the signals stuff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050616/e58d6651/attachment.pgp
More information about the dbus
mailing list