From owner-cvs-all@FreeBSD.ORG Sat May 14 19:43:10 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0AA516A4D0; Sat, 14 May 2005 19:43:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76EA043D8A; Sat, 14 May 2005 19:43:10 +0000 (GMT) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4EJhAMq022093; Sat, 14 May 2005 19:43:10 GMT (envelope-from gnn@repoman.freebsd.org) Received: (from gnn@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4EJhAtJ022092; Sat, 14 May 2005 19:43:10 GMT (envelope-from gnn) Message-Id: <200505141943.j4EJhAtJ022092@repoman.freebsd.org> From: "George V. Neville-Neil" Date: Sat, 14 May 2005 19:43:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/net getaddrinfo.c name6.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2005 19:43:10 -0000 gnn 2005-05-14 19:43:10 UTC FreeBSD src repository Modified files: lib/libc/net getaddrinfo.c name6.c Log: Submitted by: Jinmei Tatuya, Hajimu Umemoto Reviewed by: rwatson at freebsd dot org Approved by: rwatson at freebsd dot org MFC after: 1 week Fix the matchlen() function so that it handles the IPv4 (AF_INET) case correctly. Until now it has been treating IPv4 addresses as if they were IPv6 which could lead to corruption errors. Revision Changes Path 1.68 +2 -2 src/lib/libc/net/getaddrinfo.c 1.53 +2 -2 src/lib/libc/net/name6.c