Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 12:12:03 +0300
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/kldxref kldxref.c
Message-ID:  <40921863.6050801@portaone.com>
In-Reply-To: <20040430071554.GB49847@ip.net.ua>
References:  <200404300020.i3U0Kwja051928@repoman.freebsd.org> <20040430071554.GB49847@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40921863.6050801>