GNOME Bugzilla – Bug 742138
NMRemoteSettings will crash when quickly destroyed
Last modified: 2015-01-05 20:39:47 UTC
NMRemoteSettings needs to asynchronously initialize a connection object after it's constructed, and it assumes its own instance is still valid in the initialization callback, without taking a self-reference. It's entirely possible that the library client gets rid of the last reference to the NMRemoteSettings before the callback returns; this will cause the callback to access invalid memory and crash.
Created attachment 293508 [details] [review] patch This is against 0.9.10, but it should also apply to git master.
Thanks, fixed in master, nm-1-0, and nm-0-9-10. Although I'm not sure if we're going to do 0.9.10.2 at this point since 1.0 is already out...