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: Wed, 10 Jan 2007 00:37:52 +0100

On 1/9/07, Vinicius Jose Latorre <address@hidden> wrote:

Could a valid image file (GIF, JPG, PNG, etc.) with a valid file
extension contain a virus?

If image type A can contain viruses, and a contaminated image of type
A is opened in Emacs from a file with extension for image type B,
Emacs would fall for the virus, because it would detect the correct
type (A) and use the A libraries to handle it. The extension is only
used to decide whether the file is an image or not, not what kind of
image.

                   /L/e/k/t/u




reply via email to

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