From owner-cvs-all@FreeBSD.ORG Mon Feb 21 08:06:35 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 45D9816A4CE; Mon, 21 Feb 2005 08:06:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD0843D54; Mon, 21 Feb 2005 08:06:35 +0000 (GMT) (envelope-from harti@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 j1L86YEE003624; Mon, 21 Feb 2005 08:06:34 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1L86Ya6003623; Mon, 21 Feb 2005 08:06:34 GMT (envelope-from harti) Message-Id: <200502210806.j1L86Ya6003623@repoman.freebsd.org> From: Hartmut Brandt Date: Mon, 21 Feb 2005 08:06:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make arch.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: Mon, 21 Feb 2005 08:06:35 -0000 harti 2005-02-21 08:06:34 UTC FreeBSD src repository Modified files: usr.bin/make arch.c Log: Fix a bug in handling archive members: when a member was not found when looking into an already hashed archive, the code tried to use the name shortened to the maximum length allowed for the archive. Unfortunately it passed a buffer of junk to the hashing routine when the name actually wasn't too long. Theoretically this could lead to a false positive. Revision Changes Path 1.49 +11 -15 src/usr.bin/make/arch.c