From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: RE: [mwelinder@gmail.com: Emacs security bug] Date: Wed, 14 May 2008 16:41:44 +0200 Message-ID: <18474.64040.595931.466683@a1i15.kph.uni-mainz.de> References: <87mymy6wnq.fsf@stupidchicken.com> <6EE216E1AA959543A555C60FF34FB7670418B0A2@maileube01.misys.global.ad> <6EE216E1AA959543A555C60FF34FB767041E7950@maileube01.misys.global.ad> <18472.42267.828638.153027@a1ihome1.kph.uni-mainz.de> <18472.43673.221400.11508@a1ihome1.kph.uni-mainz.de> <6EE216E1AA959543A555C60FF34FB767041E7E4C@maileube01.misys.global.ad> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210776398 10684 80.91.229.12 (14 May 2008 14:46:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 14:46:38 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org, Stefan Monnier , Eli Zaretskii , mwelinder@gmail.com, emacs@gentoo.org To: "Marshall, Simon" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 16:47:05 2008 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 1JwIEn-0002Gn-L8 for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 16:45:49 +0200 Original-Received: from localhost ([127.0.0.1]:44697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwIE4-0002UW-I7 for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 10:45:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwIB3-0008Kn-RZ for emacs-devel@gnu.org; Wed, 14 May 2008 10:41:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwIB2-0008Ie-Bk for emacs-devel@gnu.org; Wed, 14 May 2008 10:41:57 -0400 Original-Received: from [199.232.76.173] (port=60949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwIB2-0008IT-0E for emacs-devel@gnu.org; Wed, 14 May 2008 10:41:56 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:37793) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwIAy-0004bA-6x; Wed, 14 May 2008 10:41:52 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m4EEfj4b031857; Wed, 14 May 2008 16:41:45 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.2/8.13.4) with ESMTP id m4EEfjrB002294; Wed, 14 May 2008 16:41:45 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.2/8.14.2/Submit) id m4EEfi2C002288; Wed, 14 May 2008 16:41:44 +0200 In-Reply-To: <6EE216E1AA959543A555C60FF34FB767041E7E4C@maileube01.misys.global.ad> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:97144 Archived-At: >>>>> On Tue, 13 May 2008, Marshall, Simon wrote: >> > + (put 'fast-lock-cache-directories 'risky-local-variable t) >> I think this will not work, since above line is only executed >> after fast-lock has been loaded. So the symbol may not yet have >> the property when the file variables are evaluated. >> An autoload cookie would also be sufficient, of course. > I did wonder about this, but when I looked at how other files were > adding the property, I noticed many of them did not have an autoload > cookie... The autoload cookie would cause the "put" form to appear in the autoloads of fast-lock. (In the context of Emacs 21, it would then be included in loaddefs.el.) However, as Stefan already noted, it's not really relevant for Emacs 22 or later. And fast-lock isn't even included in loaddefs.el anymore. Ulrich