unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Georgi Guninski <guninski@guninski.com>
Cc: kai.grossjohann@uni-duisburg.de
Subject: Re: security problem in emacs
Date: Tue, 31 Dec 2002 17:42:59 +0200	[thread overview]
Message-ID: <3E11BB03.8080009@guninski.com> (raw)
In-Reply-To: <mailman.749.1041337086.19936.bug-gnu-emacs@gnu.org>

Alfred M. Szmidt wrote:

>    Is the new attached file also fixed?
>
> Emacs CVS gives a warning about the code.

So since emacs CVS fixes at least 2 security bugs you may think about releasing 
a new version or at least patches.

>
>    I suggest you disable local variables by default - they are not
>    portable and some people use emacs for examining untrusted log
>    files or read mail.
>
> Disabling local variables completely seems silly.  Making Emacs warn
> the user when running local-hook's or eval's is a far better idea;
> which is done in CVS.  Local variables are very useful.
>
>

I continue to disagree that local variables on by default is a good idea, but am 
tired of arguing about it.
So here are some last arguments:
1. I found 2 security bugs on release version of emacs in less than week. How 
many left do you think are? Of course the idea of warning about eval or hooks 
seems good, but covering all cases of non-obvious evals in a large project is 
difficult task.

2. Lusers like micro$oft thought in the beginning that scripting in email/word 
is a good idea and it is sandboxed. Now it is off by default in their email 
products. Think about it.

3. Local variables are not portable accross editors, which makes them almost 
useless, unless every document has all the version of local variables for every 
editor.

georgi

  reply	other threads:[~2002-12-31 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.749.1041337086.19936.bug-gnu-emacs@gnu.org>
     [not found] ` <84znqm8f1k.fsf@lucy.cs.uni-dortmund.de>
2002-12-31 14:47   ` security problem in emacs Georgi Guninski
2002-12-31 15:14     ` Alfred M. Szmidt
2002-12-31 15:42       ` Georgi Guninski [this message]
     [not found]       ` <mailman.760.1041349397.19936.bug-gnu-emacs@gnu.org>
2002-12-31 18:00         ` Miles Bader
     [not found]   ` <mailman.754.1041346047.19936.bug-gnu-emacs@gnu.org>
2002-12-31 15:30     ` Miles Bader
2002-12-31 12:17 Georgi Guninski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E11BB03.8080009@guninski.com \
    --to=guninski@guninski.com \
    --cc=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).