Re: [patch] build fix for HURD

On Fri, 13 Jul 2001, Pavel Roskin wrote:

> The patch is wrong.  PATH_MAX is not defined for a reason.  There is no
> upper limit for the path length on GNU/Hurd. 

Yes. Therefore, you have to define it, when the Hurd doesn't set it, but
MC uses the value, right?

> Note that the buffer in
> get_presorted_from() is allocated on the stack - exceeding it means crash
> in the best case or an exploit if a malicious user prepares `.order' for
> you.

I am Cc:ing Marcus, let's see what he says. 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]