[patch] build fix for HURD

Martin Bialasinski martin at internet-treff.uni-koeln.de
Fri Jul 13 16:46:19 UTC 2001


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. 

Ciao,
	Martin





More information about the mc-devel mailing list