http://bugs.freedesktop.org/show_bug.cgi?id=19367





--- Comment #2 from Sunil Mohan Adapa <[email protected]>  2009-01-07 07:17:15 
PST ---
(In reply to comment #1)
> We never do marshalling or pointer-arithmetic based on the assumption that
> time_t is exactly 32 bits.

IIRC, the following code is what was causing the problem:

      g_value_init (&val, pending_type);
      g_value_take_boxed (&val,
          dbus_g_type_specialized_construct (pending_type));
      dbus_g_type_struct_set (&val,
          0, msg->id,
          1, msg->timestamp,
          2, msg->sender,
          3, msg->type,
          4, msg->flags,
          5, msg->text,
          G_MAXUINT);

The pending type has been registered as taking uuuuus and when the
dbus_g_type_struct_set call is made, we are sending 8 bytes where 4 bytes are
expected. The remaining 4 bytes will be parsed as next argument in the stack.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to