Crash when Network Manager does not find any device

Jussi Kukkonen jku at linux.intel.com
Fri Sep 24 01:45:04 PDT 2010


On 04/22/2010 11:11 AM, Javier Fernandez Garcia-Boente wrote:
> I think i've found out a bug in connectivity-networkmanager.c code,
> which causes a crash when the nm module does not return any available
> device. I guess that should not happen under regular conditions, with
> the NetworkManager being well configured, which i think thats not the
> case of my testing environment (i am using gentoo), but anyway, i think
> the code is buggy because it should check if the "device" variable is
> NULL before using it.
>
> I've attached a preliminary patch to show the problem. If we all agree
> its actually a bug, i could open it in the bugzilla and work on a more
> serious patch proposal.


Thanks, it's a bug alright but Bastien has already fixed it -- try git 
master if you want to make sure.

- Jussi


More information about the GeoClue mailing list