Re: [RFC] Exposing network credentials to an application

2014-07-30 Thread Drew Stebbins
Hi Patrik, There's a chicken-and-egg problem in the use case Grant mentioned which unfortunately can't be solved with .config file passing. In the presented use case, the user selects and authenticates to a network when they set up the first device. The application instructs connman to connect to

Re: Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Saurav Babu
___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

Re: Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Saurav Babu
___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Tomasz Bursztyka
Hi, Sometimes while switching network dhcp_initialize() fails because interface is not up and hence dhcp->dhcp_client remains NULL. Here we don't check return type of dhcp_initialize() and go on to call function g_dhcp_client_start() and crash occurs. Good catch, but this makes me think there

Re: Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Saurav Babu
0001-dhcp-Fixed-Crash-on-Switching-Network.patch Description: Binary data ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Tomasz Bursztyka
Hi, We still don't see your patch unfortunately. Can you try with git send-email? It's an opens-source mailing list here, so you don't need to send any header specifying there is trade secret etc... Thanks, Tomasz ___ connman mailing list connman@c

Re: Re: [PATCH] dhcp: Fixed Crash on Switching Network

2014-07-30 Thread Saurav Babu
___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

[PATCH] gsupplicant: Null check DBusMessageIter to avoid abort

2014-07-30 Thread Richard Röjfors
Depending on how dbus is built it might abort when passing null pointers to it. This patch checks an iter while parsing dbus errors, the iter might be NULL, for instance when an operation is aborted. This trace shows the issue: 0 0xb6c24144 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/un