r11872 - in /desktop/unstable/gdm/debian: changelog patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch patches/series

lool at users.alioth.debian.org lool at users.alioth.debian.org
Tue Jul 10 14:00:38 UTC 2007


Author: lool
Date: Tue Jul 10 14:00:37 2007
New Revision: 11872

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11872
Log:
* New patch,
  91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list,
  fixes crash when using IPv6; thanks Ely Levy; GNOME #455190; from
  SVN r5044; closes: #432227.

Added:
    desktop/unstable/gdm/debian/patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch
Modified:
    desktop/unstable/gdm/debian/changelog
    desktop/unstable/gdm/debian/patches/series

Modified: desktop/unstable/gdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/changelog?rev=11872&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Tue Jul 10 14:00:37 2007
@@ -1,3 +1,12 @@
+gdm (2.18.3-3) unstable; urgency=high
+
+  * New patch,
+    91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list,
+    fixes crash when using IPv6; thanks Ely Levy; GNOME #455190; from
+    SVN r5044; closes: #432227.
+
+ -- Loic Minier <lool at dooz.org>  Tue, 10 Jul 2007 15:48:01 +0200
+
 gdm (2.18.3-2) unstable; urgency=medium
 
   * Cleanups.

Added: desktop/unstable/gdm/debian/patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch?rev=11872&op=file
==============================================================================
--- desktop/unstable/gdm/debian/patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch (added)
+++ desktop/unstable/gdm/debian/patches/91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch Tue Jul 10 14:00:37 2007
@@ -1,0 +1,22 @@
+GNOME #455190; Debian #432227; SVN r5044; fixes crash when using IPv6
+
+2007-07-09  Brian Cameron  <brian.cameron at sun.com>
+
+	* daemon/misc.c: Initialize hints and set ai_family in the
+	  function gdm_peek_local_address_list.
+
+Index: daemon/misc.c
+===================================================================
+--- daemon/misc.c (revision 5043)
++++ daemon/misc.c (revision 5044)
+@@ -1084,6 +1084,10 @@ gdm_peek_local_address_list (void)
+ 		return g_list_append (the_list, sin6);
+ 	}
+ 
++	memset (&hints, 0, sizeof (hints));
++	hints.ai_family = AF_INET;
++	hints.ai_family |= AF_INET6;
++
+ 	if (getaddrinfo (hostbuf, NULL, &hints, &result) != 0) {
+ 		gdm_debug ("%s: Could not get address from hostname!", "gdm_peek_local_address_list");
+ 

Modified: desktop/unstable/gdm/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/series?rev=11872&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/patches/series (original)
+++ desktop/unstable/gdm/debian/patches/series Tue Jul 10 14:00:37 2007
@@ -22,3 +22,4 @@
 69_misc-config-typos.patch
 70_mandatory-relibtoolize.patch
 90_from_svn_fix_gdm_restart.patch
+91_from-svn_gdm-init-hints-and-af-family-in-gdm_peek_local_address_list.patch -p0




More information about the pkg-gnome-commits mailing list