emacs-devel
[Top][All Lists]
Advanced

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

Re: risky local variable mechanism


From: Chong Yidong
Subject: Re: risky local variable mechanism
Date: Sat, 11 Feb 2006 15:46:47 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> What exactly is the problem with the current system?  Are there unsafe 
> variables erroneously declared safe?  Are there file-local variables 
> with safe values erroneously declared unsafe?  What is the minimum 
> change needed to solve the current problem?

See Richard's previous emails on this subject.  The rationale is that
it is safer to add safe values to a whitelist than to add risky
variables to a blacklist---you wouldn't know if you missed a dangerous
variable.

> Again, if files.el and unsafep.el do not use the same mechanism, Emacs 
> will have two definitions for the same concept ("safe variable") which 
> will lead to either security holes or user annoyance.

It's unlikely that making the file local variable mechanism stricter,
while keeping unsafep.el the same, will open up new security holes
that didn't already exist.  Anyway, it is pretty easy to change
unsafep.el to reflect the changes to files.el.




reply via email to

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