cvs commit: src/usr.sbin/kldxref kldxref.c
Maxim Sobolev
sobomax at portaone.com
Fri Apr 30 02:12:14 PDT 2004
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
More information about the cvs-src
mailing list