[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2052 - in glibc-package/branches/glibc-branch-etch/debian: . patches patches/any



Author: aurel32
Date: 2007-04-13 09:22:27 +0000 (Fri, 13 Apr 2007)
New Revision: 2052

Added:
   glibc-package/branches/glibc-branch-etch/debian/patches/any/cvs-nss_nis_setnetgrent.diff
Modified:
   glibc-package/branches/glibc-branch-etch/debian/changelog
   glibc-package/branches/glibc-branch-etch/debian/patches/series
Log:
  * patches/any/cvs-nss_nis_setnetgrent.diff: new patch from upstream (fix
    a wrong assertion in nss_nis_setnetgrent.  Closes: #369536.



Modified: glibc-package/branches/glibc-branch-etch/debian/changelog
===================================================================
--- glibc-package/branches/glibc-branch-etch/debian/changelog	2007-04-13 09:19:17 UTC (rev 2051)
+++ glibc-package/branches/glibc-branch-etch/debian/changelog	2007-04-13 09:22:27 UTC (rev 2052)
@@ -7,8 +7,12 @@
     glibc-2.5 branch: use dh_shlibdeps to set the dependencies of nscd.
     Closes: #409288, #412562.
 
- -- Pierre Habouzit <madcoder@debian.org>  Mon,  5 Mar 2007 10:32:34 +0100
+  [ Aurelien Jarno ]
+  * patches/any/cvs-nss_nis_setnetgrent.diff: new patch from upstream (fix
+    a wrong assertion in nss_nis_setnetgrent.  Closes: #369536.
 
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 13 Apr 2007 11:21:22 +0200
+
 glibc (2.3.6.ds1-13) unstable; urgency=low
 
   * debhelper.in/libc.postinst: try to add /etc/ld.so.conf.d support for

Added: glibc-package/branches/glibc-branch-etch/debian/patches/any/cvs-nss_nis_setnetgrent.diff
===================================================================
--- glibc-package/branches/glibc-branch-etch/debian/patches/any/cvs-nss_nis_setnetgrent.diff	2007-04-13 09:19:17 UTC (rev 2051)
+++ glibc-package/branches/glibc-branch-etch/debian/patches/any/cvs-nss_nis_setnetgrent.diff	2007-04-13 09:22:27 UTC (rev 2052)
@@ -0,0 +1,16 @@
+Index: nis/nss_nis/nis-netgrp.c
+===================================================================
+RCS file: /cvs/glibc/libc/nis/nss_nis/nis-netgrp.c,v
+retrieving revision 1.12
+diff -u -p -r1.12 nis-netgrp.c
+--- nis/nss_nis/nis-netgrp.c	14 Aug 2004 04:20:34 -0000	1.12
++++ nis/nss_nis/nis-netgrp.c	7 Aug 2005 04:15:29 -0000
+@@ -75,7 +75,7 @@ _nss_nis_setnetgrent (const char *group,
+ 	 which is one byte larger than the value in LEN specifies
+ 	 and the last byte is filled with NUL.  So we can simply
+ 	 use that buffer.  */
+-      assert (len > 0);
++      assert (len >= 0);
+       assert (malloc_usable_size (netgrp->data) >= len + 1);
+       assert (netgrp->data[len] == '\0');
+ 

Modified: glibc-package/branches/glibc-branch-etch/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-branch-etch/debian/patches/series	2007-04-13 09:19:17 UTC (rev 2051)
+++ glibc-package/branches/glibc-branch-etch/debian/patches/series	2007-04-13 09:22:27 UTC (rev 2052)
@@ -140,6 +140,7 @@
 any/cvs-futimes.diff -p0
 any/cvs-getcwd_c.diff -p1
 any/cvs-itoa-c.diff -p1
+cvs-nss_nis_setnetgrent.diff -p0
 any/cvs-nfs_h.diff -p0
 any/cvs-path_log.diff -p0
 any/cvs-regcomp_c.diff -p1



Reply to: