[patch] dbus_message_iter_get_args_valist does not skip last
argument
Kristian Høgsberg
krh at bitplanet.net
Thu May 6 01:17:33 EST 2004
On Wed, 2004-05-05 at 16:04, Timo Teräs wrote:
> Hi,
>
> I found out that dbus_message_iter_get_args_valist() does not skip the last
> argument in iterator. The error is in line 2385 of dbus-message.c:
> if (spec_type != 0 && !dbus_message_iter_next (iter))
Yeah, so when we've processed the last va_arg argument and spec_type is
0 we don't call dbus_message_iter_next() for the last argument as we
should. Looks good to me.
Kristian
More information about the dbus
mailing list