Bug in #! processing

Ryan Sommers ryans at gamersimpact.com
Wed Sep 29 06:33:34 PDT 2004


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 at gamersimpact.com



More information about the freebsd-current mailing list