[SSSD] [PATCH] sudo: work with correct D-Bus iterator

Jakub Hrozek jhrozek at redhat.com
Tue Aug 19 12:05:32 UTC 2014


On Tue, Aug 19, 2014 at 12:03:20PM +0200, Jakub Hrozek wrote:
> > Ah, you misunderstood me. The previous patch [1] that created this issue was was not the final patch I wrote and it unfortunately got through the review process.
> > 
> > The "Bad Format" error will show up without this patch.
> 
> ACK. Without the patch, a rules refresh caused the following error, as
> seen in a GDB session:
> 
> 1580            for (i = 0; i < rules_num; i++) {
> (gdb) 
> 1581                if (dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_STRING) {
> (gdb) 
> 1582                    DEBUG(SSSDBG_CRIT_FAILURE, "Failed, to parse the message!\n");
> (gdb) 
> 1583                    ret = EIO;
> (gdb) 
> 1584                    err_msg = "Invalid D-Bus message format";
> 
> The error is gone after applying the patch.

Pushed to master:
    * a8e9aedbf7f6ada4e9f505da5fad8a61e4066684
and sssd-1-11:
    * fd7ff2baca95403bac19091b4a19c6ca2d91bb77



More information about the sssd-devel mailing list