help-hurd
[Top][All Lists]
Advanced

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

Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng]


From: Robert Millan
Subject: Re: weird PATH_MAX discussion in mplayer's list. (Fwd: [MPlayer-dev-eng] [PATCH] fix for unconditional use of PATH_MAX)
Date: Fri, 2 May 2003 00:34:50 +0200
User-agent: Mutt/1.5.4i

On Fri, May 02, 2003 at 12:30:52AM +0200, Moritz Schulte wrote:
> I doubt that.  Primarily because he/she will probably also be unable
> to use the software the same way on other Unix like systems.  GNU is
> not worse, when someone uses a PATH_MAX limit, GNU is just not better.

it _is_ worse. on other systems, you can't create a directory longer
than PATH_MAX. if a program hardcodes PATH_MAX when undefined,
and a user runs it in a longer directory, the program will behave
unexpectedly and do weird things. depending on the situation it
could have buffer overflows! certainly if a program crashes on
GNU but works fine on other systems it doesn't make GNU look
like a stable system (which it isn't, heh).

-- 
Robert Millan

make: *** No rule to make target `war'.  Stop.

Another world is possible - Just say no to genocide




reply via email to

[Prev in Thread] Current Thread [Next in Thread]