summaryrefslogtreecommitdiff
path: root/gnome-base/gnome-shell/files
diff options
context:
space:
mode:
authorOle Reifschneider <tranquility@gentoo.org>2016-03-15 00:15:12 +0100
committerOle Reifschneider <tranquility@gentoo.org>2016-03-15 00:16:10 +0100
commit8c96273f1f532fbcdeb59bc85f402cee178301ba (patch)
tree3da57c67bdcdb3afb0a12499d6cb055e09f7b36e /gnome-base/gnome-shell/files
parenteaf11a49277880e13879572c4d554e5798ba20cd (diff)
downloadgentoo-8c96273f1f532fbcdeb59bc85f402cee178301ba.tar.gz
gentoo-8c96273f1f532fbcdeb59bc85f402cee178301ba.tar.xz
gnome-base/gnome-shell: Fix crash after enabling vpn
Upstream fixed it in 3.19.x but did did not push the fix to the stable branch so we need to patch it ourselves. Package-Manager: portage-2.2.27
Diffstat (limited to 'gnome-base/gnome-shell/files')
-rw-r--r--gnome-base/gnome-shell/files/gnome-shell-3.18-fix-crash.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.18-fix-crash.patch b/gnome-base/gnome-shell/files/gnome-shell-3.18-fix-crash.patch
new file mode 100644
index 00000000000..d19049ca5de
--- /dev/null
+++ b/gnome-base/gnome-shell/files/gnome-shell-3.18-fix-crash.patch
@@ -0,0 +1,29 @@
+From 021cecbce289f1d9c68a156d5b8dd204a73bc715 Mon Sep 17 00:00:00 2001
+From: Christophe Fergeau <cfergeau@redhat.com>
+Date: Sun, 20 Dec 2015 20:51:52 +0100
+Subject: [PATCH] NetworkAgent: Fix double-unref in get_secrets_keyring_cb()
+
+In get_secrets_keyring_cb, we own a ref on the 'attributes' hash table
+from secret_item_get_attributes), and a ref on the 'secret' object (from
+secret_item_get_secret(), but in the SHELL_KEYRING_SK_TAG case, we unref
+these once before breaking out of the loop, and the second time after
+breaking out of the loop.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=759708
+---
+ src/shell-network-agent.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
+index 5d99167..da0f7e5 100644
+--- a/src/shell-network-agent.c
++++ b/src/shell-network-agent.c
+@@ -314,8 +314,6 @@ get_secrets_keyring_cb (GObject *source,
+
+ secrets_found = TRUE;
+
+- g_hash_table_unref (attributes);
+- secret_value_unref (secret);
+ break;
+ }
+ }