In article <local.mail.freebsd-stable/[EMAIL PROTECTED]> 
you write:
>    These glob patches to libc are totally inappropriate.   If there is a
>    problem with DOS attacks in ftp, the solution is to add a simple API
>    call to set the limit (the default being unlimited) and then make ftp use
>    it.

Yes, I'm considering the following:

        gl_flags |= GLOB_MAXFILES
        gl_match = filemax

Since gl_match is only used as an input parameter at the moment.
Another approach is to limit the number of bytes returned to ARG_MAX,
but I somewhat dislike that; it makes more sense to me to specify the
number of paths instead.
--
Jonathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to