From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 21 18:30:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC51D1065695 for ; Wed, 21 Oct 2009 18:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C266F8FC1B for ; Wed, 21 Oct 2009 18:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9LIU31Q029624 for ; Wed, 21 Oct 2009 18:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9LIU3QL029621; Wed, 21 Oct 2009 18:30:03 GMT (envelope-from gnats) Date: Wed, 21 Oct 2009 18:30:03 GMT Message-Id: <200910211830.n9LIU3QL029621@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/139751: commit references a PR X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 18:30:04 -0000 The following reply was made to PR kern/139751; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/139751: commit references a PR Date: Wed, 21 Oct 2009 18:29:37 +0000 (UTC) Author: fabient Date: Wed Oct 21 18:29:26 2009 New Revision: 198339 URL: http://svn.freebsd.org/changeset/base/198339 Log: PR: 139751 Approved by: des Obtained from: Xavier Heiny MFC after: 3 weeks Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c ============================================================================== --- head/lib/libfetch/common.c Wed Oct 21 18:09:48 2009 (r198338) +++ head/lib/libfetch/common.c Wed Oct 21 18:29:26 2009 (r198339) @@ -772,7 +772,7 @@ fetch_no_proxy_match(const char *host) break; d_len = q - p; - if (d_len > 0 && h_len > d_len && + if (d_len > 0 && h_len >= d_len && strncasecmp(host + h_len - d_len, p, d_len) == 0) { /* domain name matches */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"