From owner-cvs-all@FreeBSD.ORG Fri Apr 30 02:12:13 2004 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 CA05216A4CF; Fri, 30 Apr 2004 02:12:13 -0700 (PDT) Received: from www.russia.cz (web.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D00E43D45; Fri, 30 Apr 2004 02:12:12 -0700 (PDT) (envelope-from sobomax@portaone.com) Received: from portaone.com (localhost [127.0.0.1]) (authenticated bits=0) by www.russia.cz (8.12.8p2/8.12.8) with ESMTP id i3U9C7pP079039; Fri, 30 Apr 2004 11:12:08 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <40921863.6050801@portaone.com> Date: Fri, 30 Apr 2004 12:12:03 +0300 From: Maxim Sobolev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, ru, uk MIME-Version: 1.0 To: Ruslan Ermilov References: <200404300020.i3U0Kwja051928@repoman.freebsd.org> <20040430071554.GB49847@ip.net.ua> In-Reply-To: <20040430071554.GB49847@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/kldxref kldxref.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: Fri, 30 Apr 2004 09:12:14 -0000 Ruslan Ermilov wrote: > On Thu, Apr 29, 2004 at 05:20:58PM -0700, Maxim Sobolev wrote: > >>sobomax 2004/04/29 17:20:58 PDT >> >> FreeBSD src repository >> >> Modified files: >> usr.sbin/kldxref kldxref.c >> Log: >> Check that specified in the command line path is actually a directory, >> otherwise we are risking to coredump later on. >> >> Revision Changes Path >> 1.7 +9 -0 src/usr.sbin/kldxref/kldxref.c >> > > What if it's a symlink to a directory? It uses stat(2) so that it sho' be fine, bro. ;) -Maxim