From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: C file recoginzed as image file Date: Mon, 08 Jan 2007 19:01:13 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1168300990 31282 80.91.229.12 (9 Jan 2007 00:03:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2007 00:03:10 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, c.a.rendle@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 09 01:03:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H44SG-0004qE-Fe for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 01:03:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H44SG-0008CQ-3F for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 19:03:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H44Qy-00078n-7Z for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:01:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H44Qw-00076e-Li for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:01:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H44Qw-00076O-Dh for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:01:42 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H44Qv-0001pA-VD for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:01:42 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H44QT-0007FM-MP; Mon, 08 Jan 2007 19:01:13 -0500 Original-To: Chris Moore In-reply-to: (message from Chris Moore on Mon, 08 Jan 2007 14:34:07 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65025 Archived-At: That wasn't sarcasm, it was indicating the result of using the magic number in preference to the filename without warning the user. In nearly all cases, the result of displaying an image file is an image on your screen. Your conclusion is based on two assumptions: that (1) there is a bug in a library and (2) the image file has a virus specifically designed to take advantage of this bug and cause trouble in Emacs. Assumption 1 may be true occasionally, but it will be false nearly all the time. Assumption 2 is not impossible, but we don't know that anyone will actually do it. Please don't assume that the unlikely case is the only case.