Re: Bug in #! processing

From: Ceri Davies <ceri_at_submonkey.net>
Date: Wed, 29 Sep 2004 14:53:46 +0100
On Wed, Sep 29, 2004 at 08:33:51AM -0500, Ryan Sommers wrote:
> 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.

That check doesn't actually exist.
The reason for ignoring # given in the relevant commit log (r1.21)
was to allow comments on the first line.

Ceri
-- 
It is not tinfoil, it is my new skin.  I am a robot.

Received on Wed Sep 29 2004 - 11:53:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC