r50650 - in /desktop/unstable/gnome-control-center/debian: changelog patches/fix-crash-entering-ipv4-gateway.patch patches/fix-crash-entering-ipv4-routes.patch patches/series

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Thu Sep 15 20:01:47 UTC 2016


Author: hertzog
Date: Thu Sep 15 20:01:46 2016
New Revision: 50650

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=50650
Log:
Add two patches fixing crashes

Closes: #836835

Added:
    desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-gateway.patch
    desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-routes.patch
Modified:
    desktop/unstable/gnome-control-center/debian/changelog
    desktop/unstable/gnome-control-center/debian/patches/series

Modified: desktop/unstable/gnome-control-center/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-control-center/debian/changelog?rev=50650&op=diff
==============================================================================
--- desktop/unstable/gnome-control-center/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-control-center/debian/changelog	[utf-8] Thu Sep 15 20:01:46 2016
@@ -1,3 +1,14 @@
+gnome-control-center (1:3.21.92-2) unstable; urgency=high
+
+  * Team upload.
+  * Add fix-crash-entering-ipv4-gateway.patch and
+    fix-crash-entering-ipv4-routes.patch taken from upstream git fixing
+    crashes when setting IPv4 gateway or IPv4 routes. They can be dropped for
+    3.21.93. Closes: #836835
+  * High urgency to get those fixes in testing as quickly as possible.
+
+ -- Raphaël Hertzog <hertzog at debian.org>  Thu, 15 Sep 2016 21:40:56 +0200
+
 gnome-control-center (1:3.21.92-1) unstable; urgency=medium
 
   * New upstream beta release.

Added: desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-gateway.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-gateway.patch?rev=50650&op=file
==============================================================================
--- desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-gateway.patch	(added)
+++ desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-gateway.patch	[utf-8] Thu Sep 15 20:01:46 2016
@@ -0,0 +1,28 @@
+From 7f601cfed4eb4a07d2a480b1b8ec89391925b7e8 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess at hadess.net>
+Date: Wed, 14 Sep 2016 17:13:39 +0200
+Subject: network: Fix crash entering IPv4 Gateway
+
+The wrong destructor was used for a GPtrArray of NMIPAddress.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=771432
+---
+ panels/network/connection-editor/ce-page-ip4.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
+index bcc7e0b..70187e8 100644
+--- a/panels/network/connection-editor/ce-page-ip4.c
++++ b/panels/network/connection-editor/ce-page-ip4.c
+@@ -686,7 +686,7 @@ ui_to_setting (CEPageIP4 *page)
+                 }
+         }
+ 
+-        addresses = g_ptr_array_new_with_free_func (g_object_unref);
++        addresses = g_ptr_array_new_with_free_func (nm_ip_address_unref);
+         if (g_str_equal (method, NM_SETTING_IP4_CONFIG_METHOD_MANUAL))
+                 children = gtk_container_get_children (GTK_CONTAINER (page->address_list));
+         else
+-- 
+cgit v0.12
+

Added: desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-routes.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-routes.patch?rev=50650&op=file
==============================================================================
--- desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-routes.patch	(added)
+++ desktop/unstable/gnome-control-center/debian/patches/fix-crash-entering-ipv4-routes.patch	[utf-8] Thu Sep 15 20:01:46 2016
@@ -0,0 +1,29 @@
+From 981c354ebb0536c869ef68a1671366332d25e5c4 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess at hadess.net>
+Date: Wed, 14 Sep 2016 17:14:33 +0200
+Subject: network: Fix crash entering IPv4 routes
+
+The wrong destructor was used for a GPtrArray of NMIPRoute.
+
+See https://bugzilla.gnome.org/show_bug.cgi?id=771251
+See https://bugzilla.gnome.org/show_bug.cgi?id=771432
+---
+ panels/network/connection-editor/ce-page-ip4.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
+index 70187e8..51995f9 100644
+--- a/panels/network/connection-editor/ce-page-ip4.c
++++ b/panels/network/connection-editor/ce-page-ip4.c
+@@ -794,7 +794,7 @@ ui_to_setting (CEPageIP4 *page)
+                 g_ptr_array_add (dns_servers, NULL);
+         }
+ 
+-        routes = g_ptr_array_new_with_free_func (g_object_unref);
++        routes = g_ptr_array_new_with_free_func (nm_ip_route_unref);
+         if (g_str_equal (method, NM_SETTING_IP4_CONFIG_METHOD_AUTO) ||
+             g_str_equal (method, NM_SETTING_IP4_CONFIG_METHOD_MANUAL))
+                 children = gtk_container_get_children (GTK_CONTAINER (page->routes_list));
+-- 
+cgit v0.12
+

Modified: desktop/unstable/gnome-control-center/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-control-center/debian/patches/series?rev=50650&op=diff
==============================================================================
--- desktop/unstable/gnome-control-center/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gnome-control-center/debian/patches/series	[utf-8] Thu Sep 15 20:01:46 2016
@@ -1,3 +1,5 @@
 01_menu_category.patch
 06_handle_passwd_with_ldap.patch
 07_polkit_wheel_sudo_group.patch
+fix-crash-entering-ipv4-gateway.patch
+fix-crash-entering-ipv4-routes.patch




More information about the pkg-gnome-commits mailing list