gnome-control-center/panels/network
Georges Basile Stavracas Neto fcf4e44ebd wifi: Don't access potentially invalid pointer
When the user launches Settings with a panel passed
as argument, the following things happen:

 1. The Wi-Fi panel starts loading.
 2. The command line arguments are passed and the given
    panel is activated.
 3. The Wi-Fi panel cancels the loading routine, and
    rfkill_proxy_acquired_cb() is called with the GError
    set as G_IO_ERROR_CANCELLED.
 4. Crash in rfkill_proxy_acquired_cb().

The crash is caused because, when rfkill_proxy_acquired_cb()
is called, the CcWifiPanel instance isn't valid anymore. And
yet, the code tries to cast 'gpointer user_data' to a
CcWifiPanel pointer.

Fix that by only trying to cast anything after parsing the
GError set by the callback.
2017-08-12 18:58:10 -03:00
..
connection-editor network: Improve alignment and spacing 2017-08-09 19:34:03 +02:00
wireless-security network: Ensure WirelessSecurity type is initialized 2017-08-09 19:32:43 +02:00
cc-network-panel.c network: Update VPN section 2017-08-09 19:32:43 +02:00
cc-network-panel.h network: Turn into a final class 2017-08-07 20:23:40 +01:00
cc-wifi-panel.c wifi: Don't access potentially invalid pointer 2017-08-12 18:58:10 -03:00
cc-wifi-panel.h wifi: Introduce Wi-Fi panel 2017-07-18 13:30:46 -03:00
gnome-network-panel.desktop.in.in shell: Hardcode panel list order 2017-08-12 11:03:17 -03:00
gnome-wifi-panel.desktop.in.in wifi: Introduce Wi-Fi panel 2017-07-18 13:30:46 -03:00
Makefile.am wifi: Introduce Wi-Fi panel 2017-07-18 13:30:46 -03:00
net-device-ethernet.c network: Update "Wired" section UI 2017-08-09 19:32:43 +02:00
net-device-ethernet.h network/net-device-ethernet: Re-work how we keep track of connections 2015-07-15 15:24:21 +02:00
net-device-mobile.c network: Replace the notebook with a stack 2017-07-17 23:40:58 -03:00
net-device-mobile.h network: Port to libnm 1.2 2016-05-27 18:23:33 +02:00
net-device-simple.c network: Replace the notebook with a stack 2017-07-17 23:40:58 -03:00
net-device-simple.h network: add support for showing bond slaves 2012-10-22 14:55:07 +02:00
net-device-wifi.c network: Add Wi-Fi widgets using device product as title 2017-07-17 23:41:36 -03:00
net-device-wifi.h network: Rework NetDeviceWifi interface 2017-07-17 23:41:25 -03:00
net-device.c network: Simplify object destruction 2017-03-10 19:17:24 +01:00
net-device.h network: Port to libnm 1.2 2016-05-27 18:23:33 +02:00
net-object.c network: Replace the notebook with a stack 2017-07-17 23:40:58 -03:00
net-object.h network: Replace the notebook with a stack 2017-07-17 23:40:58 -03:00
net-proxy.c network: Update Proxy section widgets 2017-08-09 19:32:43 +02:00
net-proxy.h network: Split the proxy parts from the .c and .ui file 2012-07-12 14:09:24 +01:00
net-vpn.c network: Update VPN section 2017-08-09 19:32:43 +02:00
net-vpn.h network: Update VPN section 2017-08-09 19:32:43 +02:00
network-dialogs.c network: Port to libnm 1.2 2016-05-27 18:23:33 +02:00
network-dialogs.h network: Port to libnm 1.2 2016-05-27 18:23:33 +02:00
network-ethernet.ui network: Update "Wired" section UI 2017-08-09 19:32:43 +02:00
network-mobile.ui network: Remove unused toplevel windows from .ui files 2013-10-01 10:05:02 +02:00
network-proxy.ui network: Update Proxy section widgets 2017-08-09 19:32:43 +02:00
network-simple.ui network: Remove unused toplevel windows from .ui files 2013-10-01 10:05:02 +02:00
network-vpn.ui network: Update VPN section 2017-08-09 19:32:43 +02:00
network-wifi.ui network: Rework NetDeviceWifi interface 2017-07-17 23:41:25 -03:00
network.gresource.xml wifi: Introduce Wi-Fi panel 2017-07-18 13:30:46 -03:00
network.ui network: Make widgets cover a third of screen width 2017-08-09 19:32:43 +02:00
panel-common.c network: Include the connection title in the sort string 2017-05-17 15:14:10 +02:00
panel-common.h network: Include the connection title in the sort string 2017-05-17 15:14:10 +02:00
wifi.ui wifi: Introduce Wi-Fi panel 2017-07-18 13:30:46 -03:00