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

r4681 - in glibc-package/branches/glibc-branch-squeeze/debian: . patches/kfreebsd



Author: aurel32
Date: 2011-05-24 14:51:00 +0000 (Tue, 24 May 2011)
New Revision: 4681

Modified:
   glibc-package/branches/glibc-branch-squeeze/debian/changelog
   glibc-package/branches/glibc-branch-squeeze/debian/patches/kfreebsd/local-sysdeps.diff
Log:
  * Update patches/kfreebsd/local-sysdeps.diff to fix a crash in
    if_nameindex() with more than 3 interfaces on GNU/kFreeBSD.



Modified: glibc-package/branches/glibc-branch-squeeze/debian/changelog
===================================================================
--- glibc-package/branches/glibc-branch-squeeze/debian/changelog	2011-05-24 14:48:21 UTC (rev 4680)
+++ glibc-package/branches/glibc-branch-squeeze/debian/changelog	2011-05-24 14:51:00 UTC (rev 4681)
@@ -4,6 +4,8 @@
     optimization with gcc-4.6.  Closes: #619963.
   * Add patches/any/cvs-fnmatch.diff to fix an integer overflow in 
     fnmatch() (CVE-2011-1659).  Closes: #626370.
+  * Update patches/kfreebsd/local-sysdeps.diff to fix a crash in
+    if_nameindex() with more than 3 interfaces on GNU/kFreeBSD.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 02 May 2011 06:32:12 +0200
 

Modified: glibc-package/branches/glibc-branch-squeeze/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/branches/glibc-branch-squeeze/debian/patches/kfreebsd/local-sysdeps.diff	2011-05-24 14:48:21 UTC (rev 4680)
+++ glibc-package/branches/glibc-branch-squeeze/debian/patches/kfreebsd/local-sysdeps.diff	2011-05-24 14:51:00 UTC (rev 4681)
@@ -14132,8 +14132,8 @@
 +    {
 +      size_t new_allocated =
 +	(l->c_len + n < 2 * l->c_allocated + 1
-+	 ? l->c_len + n
-+	 : 2 * l->c_allocated + 1);
++	 ? 2 * l->c_allocated + 1
++	 : l->c_len + n);
 +      char *new_array = (char *) realloc (l->c_array, new_allocated);
 +      if (new_array == NULL)
 +	{


Reply to: