r10889 - in /desktop/unstable/gdm/debian: changelog patches/58_is-local-check-null.patch patches/series

lool at users.alioth.debian.org lool at users.alioth.debian.org
Thu May 10 06:46:48 UTC 2007


Author: lool
Date: Thu May 10 06:46:46 2007
New Revision: 10889

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10889
Log:
* New patch, 58_is-local-check-null, checks for NULL ia in
  gdm_is_local_addr6() and gdm_is_local_addr()

Added:
    desktop/unstable/gdm/debian/patches/58_is-local-check-null.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=10889&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Thu May 10 06:46:46 2007
@@ -10,8 +10,10 @@
     59_standard-x-server-detection; update 70_mandatory-relibtoolize.
   * Drop patch 43_clearenv-no-lang as it seems useless -- it only removes a
     function, not calls to this function.
-
- -- Loic Minier <lool at dooz.org>  Wed, 09 May 2007 09:14:02 +0200
+  * New patch, 58_is-local-check-null, checks for NULL ia in
+    gdm_is_local_addr6() and gdm_is_local_addr()
+
+ -- Loic Minier <lool at dooz.org>  Thu, 10 May 2007 08:46:25 +0200
 
 gdm (2.18.1-2) unstable; urgency=low
 

Added: desktop/unstable/gdm/debian/patches/58_is-local-check-null.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/58_is-local-check-null.patch?rev=10889&op=file
==============================================================================
--- desktop/unstable/gdm/debian/patches/58_is-local-check-null.patch (added)
+++ desktop/unstable/gdm/debian/patches/58_is-local-check-null.patch Thu May 10 06:46:46 2007
@@ -1,0 +1,21 @@
+Index: gdm-2.18.1/daemon/misc.c
+===================================================================
+--- gdm-2.18.1.orig/daemon/misc.c	2007-05-10 08:42:14.000000000 +0200
++++ gdm-2.18.1/daemon/misc.c	2007-05-10 08:42:02.000000000 +0200
+@@ -1204,6 +1204,7 @@
+ gboolean
+ gdm_is_local_addr6 (struct in6_addr* ia)
+ {
++	if (NULL == ia) return;
+ 
+ 	if (IN6_IS_ADDR_LOOPBACK (ia)) {
+ 		return TRUE;
+@@ -1231,6 +1232,8 @@
+ {
+ 	const char lo[] = {127,0,0,1};
+ 
++	if (NULL == ia) return;
++
+ 	if (ia->s_addr == INADDR_LOOPBACK ||
+ 	    memcmp (&ia->s_addr, lo, 4) == 0) {
+ 		return TRUE;

Modified: desktop/unstable/gdm/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/series?rev=10889&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/patches/series (original)
+++ desktop/unstable/gdm/debian/patches/series Thu May 10 06:46:46 2007
@@ -12,6 +12,7 @@
 53_remove-ok-and-cancel-from-included-themes.patch
 55_use-theme-gtkrc.patch
 57_gdm-is-local.patch
+58_is-local-check-null.patch
 59_standard-x-server-detection.patch
 60_logname-is-log-name-in-PostLogin.patch
 61_gdm-manpage-section.patch




More information about the pkg-gnome-commits mailing list