From: Michael Tremer Date: Mon, 22 Feb 2010 10:56:02 +0000 (+0100) Subject: glibc: Remove resolve_response_length patch. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdd3c6388f843690ff0992e1227871a64663af2;p=ipfire-3.x.git glibc: Remove resolve_response_length patch. This was fixed upstream. --- diff --git a/pkgs/core/glibc/patches/glibc-2.10.1-resolv_response_length.patch b/pkgs/core/glibc/patches/glibc-2.10.1-resolv_response_length.patch deleted file mode 100644 index 1de4c1be0..000000000 --- a/pkgs/core/glibc/patches/glibc-2.10.1-resolv_response_length.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Owl Linux glibc-2.3.2-suse-resolv-response-length.diff - -Warning: This patch can screw up applications that expect the vanilla -behavior. See: http://webui.sourcelabs.com/samba/issues/4014 - -diff -Naur glibc-2.8-20080929.orig/resolv/res_send.c glibc-2.8-20080929/resolv/res_send.c ---- glibc-2.8-20080929.orig/resolv/res_send.c 2007-08-22 04:02:38.000000000 +0000 -+++ glibc-2.8-20080929/resolv/res_send.c 2008-10-17 03:17:19.000000000 +0000 -@@ -384,6 +384,17 @@ - needclose++; - break; - } -+ /* -+ * Dirty fix - avoid read buffer overruns in -+ * applications that naively assume the length -+ * returned by res_* is always less than or -+ * equal the answer buffer size. -+ * -+ * Simply truncating the answer here surely -+ * beats fixing all calls of res_* in all -+ * applications. -+ */ -+ resplen = anssiz; - } - if (needclose) - __res_iclose(statp, false);