emacs-devel
[Top][All Lists]
Advanced

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

Re: C file recoginzed as image file


From: Juanma Barranquero
Subject: Re: C file recoginzed as image file
Date: Tue, 9 Jan 2007 14:25:43 +0100

On 1/9/07, Stephen Leake <address@hidden> wrote:

"if the file extension does not match the contents, it is more likely
that this is a virus attack"

"More likely" than what? More likely than the alternative: that it is
not a virus attack?

I have mislabeled images in my hard disk: it's not unusual in my
experience to find an image in format A, with an extension suggesting
that it is in format B. So far, none of them have been virus attacks.

Are you proposing also that we reject (or warn about) a .PNG file
disguised as a .JPG, for example? We don't have a png-mode and a
jpeg-mode; the auto-detection and image opening machinery just return
image-mode. Should we redesign it to take that into account?
                   /L/e/k/t/u




reply via email to

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