[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C file recoginzed as image file
From: |
Sascha Wilde |
Subject: |
Re: C file recoginzed as image file |
Date: |
Sun, 14 Jan 2007 19:55:21 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Giorgos Keramidas <address@hidden> wrote:
> On 2007-01-08 19:01, Richard Stallman <address@hidden> wrote:
> There isn't much Emacs can do to protect against problems with
> potentially buggy versions of the image libraries, though. We
> can make Emacs *prompt* the user when something looks ``odd'',
> but how do we define ``odd''?
To determine a file is `odd' would probably (most likely) need a full
fledged parser for each file format in question, and even more: our
parsers would have to be proofed bug free in spite of the system
libraries -- so this is no option...
On the other hand: this problem is not Emacs specific by any means:
It's indeed a serious problem that parsing data files from unknown
sources is nearly as much an security risk as running programs from
unknown sources.[0]
The kind of "solution" I would like to see is that Emacs should never
display images (or play sounds for that matter...) without being
explicitly asked to: it is obvious that using M-x image-mode or M-x
thumbs will result in showing the images, but when opening a FOO.xpm
file or viewing a mail it isn't. For the later cases there should be
config variables which determine if auto-viewing is wanted (possible
values nil t 'ask) which should default to ask.
just my 2ยข
sascha
[0] at least on to days mainstream systems whether free or
proprietary. I will leave out the rant on the OS designs
and programming languages I would blame for this kind of
problems... ;-)
--
Sascha Wilde
"There is no reason why anyone would want a computer in their home"
Ken Olson, DEC, 1977
- Re: C file recoginzed as image file, (continued)
- Re: C file recoginzed as image file, Chris Moore, 2007/01/06
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/06
- Re: C file recoginzed as image file, Chris Moore, 2007/01/07
- Re: C file recoginzed as image file, Lennart Borgman (gmail), 2007/01/07
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/08
- Re: C file recoginzed as image file, Reiner Steib, 2007/01/08
- Re: C file recoginzed as image file, Andreas Schwab, 2007/01/08
- Re: C file recoginzed as image file, Stuart D. Herring, 2007/01/08
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/08
- Re: C file recoginzed as image file, Giorgos Keramidas, 2007/01/13
- Re: C file recoginzed as image file,
Sascha Wilde <=
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/15
- Re: C file recoginzed as image file, Jason Rumney, 2007/01/15
- Re: C file recoginzed as image file, Juanma Barranquero, 2007/01/19
- Re: C file recoginzed as image file, Jason Rumney, 2007/01/19
- Re: C file recoginzed as image file, Juanma Barranquero, 2007/01/19
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/19
- Re: C file recoginzed as image file, Juanma Barranquero, 2007/01/20
- Re: C file recoginzed as image file, Richard Stallman, 2007/01/21
- Re: C file recoginzed as image file, Jason Rumney, 2007/01/21
- Re: C file recoginzed as image file, Juanma Barranquero, 2007/01/21