Hi

> Date: Wed, 30 Jul 2014 15:51:54 +0300
> From: [email protected]
> To: [email protected]; [email protected]
> Subject: Re: [PATCH] dhcp: Fixed Crash on Switching Network
> 
> 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 is another bug: if the device 
> is down,
> connman should not even think of starting dhcp on it, so there might be 
> another issue
> to get fixed here. What version of connman are you using btw?

This issue can be found in ConnMan 1.24,
and you can reproduce it when repeatedly operated the following command:

./test-connman offlinemode on
./test-connman offlinemode off

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

Reply via email to