From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: file local variables Date: Tue, 15 Dec 2009 01:39:12 +0200 Organization: JURTA Message-ID: <87ljh53z37.fsf@mail.jurta.org> References: <87ljh59r3w.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260834237 19729 80.91.229.12 (14 Dec 2009 23:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 23:43:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 15 00:43:49 2009 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 1NKKZx-0006BU-Cr for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2009 00:43:49 +0100 Original-Received: from localhost ([127.0.0.1]:55248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKKZx-0005kv-3m for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 18:43:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKKZr-0005kf-D5 for emacs-devel@gnu.org; Mon, 14 Dec 2009 18:43:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKKZm-0005iV-En for emacs-devel@gnu.org; Mon, 14 Dec 2009 18:43:42 -0500 Original-Received: from [199.232.76.173] (port=58510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKKZm-0005iJ-AE for emacs-devel@gnu.org; Mon, 14 Dec 2009 18:43:38 -0500 Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:54766 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKKZk-00018j-3t for emacs-devel@gnu.org; Mon, 14 Dec 2009 18:43:37 -0500 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.94.164.cable.starman.ee [82.131.94.164]) by mx1.starman.ee (Postfix) with ESMTP id AB9573F41D0 for ; Tue, 15 Dec 2009 01:43:30 +0200 (EET) In-Reply-To: <87ljh59r3w.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 14 Dec 2009 23:34:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:118627 Archived-At: > BTW, while looking at this bug, I noticed a security hole in using > duplicate file local variables. > > `hack-local-variables-filter' checks for the safety the value of the *last* > duplicate local variable in the list (the first in the reversed list), but > `hack-local-variables' uses an unchecked value of the *first* duplicate > local variable. Hopefully, this is a false alarm. I can't find a recipe to reproduce this. -- Juri Linkov http://www.jurta.org/emacs/