On Thu, 2015-09-03 at 16:29 +0200, Marcus Folkesson wrote:
> +                     if (!check_message_is_basic_type(&value)) {
> +                             error = CONNMAN_ERROR_INTERFACE
> ".InvalidArguments";
> +                             values_received = false;
> +                             break;
> +                     }
> +
>                       dbus_message_iter_get_basic(&value,
> &passphrase);

These checks fail if the message is an integer type. I believe the 
checks have to be against DBUS_TYPE_STRING.

Jaakko
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to