Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 08:33:51 -0500
From:      Ryan Sommers <ryans@gamersimpact.com>
To:        Ceri Davies <ceri@submonkey.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Bug in #! processing
Message-ID:  <415AB9BF.1070003@gamersimpact.com>
In-Reply-To: <20040929131136.GA2493@submonkey.net>
References:  <861xgm5ltz.fsf@thirst.unx.era.pl> <20040928194853.GT2493@submonkey.net> <86k6ud2t6t.fsf@thirst.unx.era.pl> <20040929131136.GA2493@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ceri Davies wrote:

> That seems wrong too. #! shouldn't be magic anywhere other than at the
>
>beginning of a file.
>  
>
I haven't looked at the code yet, on my list, but I'm guessing this was 
done to avoid a possible circular reference. The interpreter magic is 
only allowed one level of indirection to avoid such a case. This might 
have been added to avoid a malicious condition.

-- 
Ryan Sommers
ryans@gamersimpact.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415AB9BF.1070003>