From owner-cvs-all@FreeBSD.ORG Tue Jan 25 13:55:07 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 5B93016A4CE; Tue, 25 Jan 2005 13:55:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FBAE43D45; Tue, 25 Jan 2005 13:55:07 +0000 (GMT) (envelope-from nectar@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 j0PDt7G5049015; Tue, 25 Jan 2005 13:55:07 GMT (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0PDt7gB049014; Tue, 25 Jan 2005 13:55:07 GMT (envelope-from nectar) Message-Id: <200501251355.j0PDt7gB049014@repoman.freebsd.org> From: Jacques Vidrine Date: Tue, 25 Jan 2005 13:55:06 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/chinese/zhcon Makefile ports/chinese/zhcon/files patch-src::configfile.cpp 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: Tue, 25 Jan 2005 13:55:07 -0000 nectar 2005-01-25 13:55:06 UTC FreeBSD ports repository Modified files: chinese/zhcon Makefile Added files: chinese/zhcon/files patch-src::configfile.cpp Log: The set-user-ID binary zhcon normally reads it's user-specified configuration file as root. Drop privileges before opening the file to prevent a local user from reading arbitrary files. Reported by: Erik Sjölund Obtained from: Debian Revision Changes Path 1.32 +1 -1 ports/chinese/zhcon/Makefile 1.1 +21 -0 ports/chinese/zhcon/files/patch-src::configfile.cpp (new)