[Telepathy] [Bug 19367] time_t is assumed to be always 32bit in text-mixin
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 7 07:17:16 PST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=19367
--- Comment #2 from Sunil Mohan Adapa <sunil at synovel.com> 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.
More information about the Telepathy
mailing list