Crash when Network Manager does not find any device

Javier Fernandez Garcia-Boente jfernandez at igalia.com
Fri Sep 24 02:31:47 PDT 2010


On Fri, 2010-09-24 at 11:45 +0300, Jussi Kukkonen wrote:
> 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.

Verified. It's fixed now.
Thanks.

-- 
Javier Fernández García-Boente
http://blogs.igalia.com/jfernandez/
www.igalia.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/geoclue/attachments/20100924/a4312602/attachment.pgp>


More information about the GeoClue mailing list