Date: Wed, 21 Oct 2009 18:30:03 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: kern/139751: commit references a PR Message-ID: <200910211830.n9LIU3QL029621@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <xavier.heiny@netasq.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910211830.n9LIU3QL029621>