Hi,

DBus will call abort() if messages with wrong message type is passed to
functions that expect a specific type. One example on this is
dbus_message_iter_get_basic().

I had problem that the WPS value in 
agent-connman:request_input_passphrase_reply() was
a container type (ARRAY) instead of basic type. This results in the nasty
abort() termination from libdbus.

The patch do type checking on agent-connman, but dbus_message_iter_get_basic()
is used on tons of more places without this type checking. I think that we 
should handle it in some way.

The patch is tested with Connman 1.30 on a real target where the error occur.

Cheers,
Marcus Folkesson

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to