NetworkManager/libnm-glib
Dan Winship 1b8835e15b libnm-glib: fix a crash when using multiple NMClients
NMObjectCache was assuming there would never be more than one object
with the same path, but since NMClient is an NMObject, it was getting
cached too, so if you created two clients and then unreffed one of
them, it's possible the wrong one could get left in the cache, causing
a crash the next time the other one called nm_object_cache_clear().

Fix this by only adding NMObjects to the cache in the codepaths where
we also check to see if the object was already in the cache.

(This also means we can remove the "except" argument to
nm_object_cache_clear(), since the NMClient won't be cached any more.)

(cherry picked from commit fe264a2d01)
2014-08-01 12:20:13 -04:00
..
tests libnm-glib: use automake test infrastructure for test programs 2014-08-01 12:19:56 -04:00
libnm-glib-test.c libnm-glib: don't use deprecated nm_access_point_get_hw_address() 2014-06-07 11:20:11 +02:00
libnm-glib-vpn.pc.in release: bump version to 0.9.0 2011-08-22 20:33:07 -05:00
libnm-glib-vpn.ver libnm-glib-vpn: add support for interactive secrets requests 2013-07-31 08:16:40 -05:00
libnm-glib.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-glib.ver libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
libnm_glib.c all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
libnm_glib.h libnm-glib: deprecate original libnm_glib bits 2010-03-10 09:18:08 -08:00
Makefile.am libnm-glib: drop separate test library 2014-07-30 00:30:28 +02:00
nm-access-point.c libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-access-point.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-active-connection.c docs: clarify some uses of nm_active_connection_get_connection() 2014-05-22 09:07:57 -05:00
nm-active-connection.h libnm-glib: support 'type', 'id' properties in NMActiveConnection (rh #1061822) 2014-03-05 16:17:13 +01:00
nm-client.c libnm-glib: fix a crash when using multiple NMClients 2014-08-01 12:20:13 -04:00
nm-client.h libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-dbus-helpers-private.h libnm-glib: add helper to connect to NM's private D-Bus socket 2013-04-08 11:30:31 -05:00
nm-dbus-helpers.c libnm-glib: drop separate test library 2014-07-30 00:30:28 +02:00
nm-device-adsl.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-adsl.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-bond.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-bond.h core, libnm-glib: expose "slaves" property on NMDeviceBond 2012-10-19 12:09:27 -04:00
nm-device-bridge.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-bridge.h libnm-glib: add Since tags to new functions and properties 2013-02-22 08:34:13 -06:00
nm-device-bt.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-bt.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-ethernet.c libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-device-ethernet.h libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-device-generic.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-generic.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-device-infiniband.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-infiniband.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-modem.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-modem.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-olpc-mesh.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-olpc-mesh.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-private.h libnm-glib: ensure nm_device_set_device_type() stays private 2012-03-12 14:33:51 -05:00
nm-device-team.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-team.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-device-vlan.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-vlan.h all: standardize on NMSettingWired:mac-address for all VLANs 2013-09-12 18:34:23 -04:00
nm-device-wifi.c libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-device-wifi.h libnm-glib: convert NMDeviceWifi AccessPoints to a real property 2014-01-23 17:34:12 -06:00
nm-device-wimax.c libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-device-wimax.h libnm-glib: convert NMDeviceWimax NSPs to a real property 2014-01-23 17:34:12 -06:00
nm-device.c libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-device.h libnm-glib: add nm_device_get_setting_type() 2014-03-06 09:38:36 -05:00
nm-dhcp4-config.c libnm-glib: use helpers to create dbus proxies 2013-04-08 11:30:32 -05:00
nm-dhcp4-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dhcp6-config.c libnm-glib: use helpers to create dbus proxies 2013-04-08 11:30:32 -05:00
nm-dhcp6-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-ip4-config.c core: cleanup freeing of glib collections of pointers 2013-10-22 19:53:57 +02:00
nm-ip4-config.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-ip6-config.c libnm-glib: additional functions to get nameservers (rh #1056146) 2014-01-23 12:53:18 +01:00
nm-ip6-config.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-object-cache.c libnm-glib: fix a crash when using multiple NMClients 2014-08-01 12:20:13 -04:00
nm-object-cache.h libnm-glib: fix a crash when using multiple NMClients 2014-08-01 12:20:13 -04:00
nm-object-private.h libnm-glib: remove unused pseudo-property code 2014-01-23 17:34:13 -06:00
nm-object.c libnm-glib: fix a crash when using multiple NMClients 2014-08-01 12:20:13 -04:00
nm-object.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-remote-connection-private.h libnm-glib: handle initially invisible connections correctly 2011-02-12 22:00:30 -06:00
nm-remote-connection.c libnm-glib: fix warning about redefining typedef RemoteCall 2014-08-01 13:39:45 +02:00
nm-remote-connection.h libnm-glib: take reference in NMRemoteConnection before calling DBUS 2014-02-21 16:20:29 +01:00
nm-remote-settings.c libnm-glib: add documentation for NMRemoteSettings and connection addition 2014-04-10 10:51:29 -05:00
nm-remote-settings.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-secret-agent.c libnm-glib: add support for agent capabilities during registration 2013-07-31 08:16:40 -05:00
nm-secret-agent.h libnm-util, libnm-glib: be consistent about "Wi-Fi", "Ethernet", "InfiniBand" in docs 2014-06-20 18:11:01 -05:00
nm-types-private.h libnm-glib: add NMIP6Config object that proxies device's IP6 config 2009-08-20 11:30:52 -05:00
nm-types.c core: cleanup freeing of glib collections of pointers 2013-10-22 19:53:57 +02:00
nm-types.h Use glib-mkenums to generate enum types 2012-02-15 11:42:15 -05:00
nm-vpn-connection.c trivial: remove unused #defines 2014-01-23 17:46:20 -06:00
nm-vpn-connection.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-vpn-plugin-ui-interface.c libnm-glib: VPN delete and save secrets operations are no longer used 2011-07-13 13:00:16 -05:00
nm-vpn-plugin-ui-interface.h libnm-glib: fix glib-mkenums warnings 2014-02-28 16:13:22 -05:00
nm-vpn-plugin-utils.c vpn: support IPv6 over VPNs 2012-05-30 14:24:46 -04:00
nm-vpn-plugin-utils.h libnm-glib-vpn: add some helpers for auth dialogs 2011-02-10 18:48:32 -06:00
nm-vpn-plugin.c libnm-glib: fix resetting IP config during additional SetConfig() calls 2014-06-04 20:17:22 +02:00
nm-vpn-plugin.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-wimax-nsp.c trivial: remove unused #defines 2014-01-23 17:46:20 -06:00
nm-wimax-nsp.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00