From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [mwelinder@gmail.com: Emacs security bug] Date: Mon, 12 May 2008 16:45:21 -0400 Message-ID: References: <87mymy6wnq.fsf@stupidchicken.com> <6EE216E1AA959543A555C60FF34FB7670418B0A2@maileube01.misys.global.ad> <6EE216E1AA959543A555C60FF34FB767041E7950@maileube01.misys.global.ad> <18472.42267.828638.153027@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210625152 27320 80.91.229.12 (12 May 2008 20:45:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2008 20:45:52 +0000 (UTC) Cc: "Marshall, Simon" , emacs-devel@gnu.org, Eli Zaretskii , mwelinder@gmail.com, Chong Yidong , emacs@gentoo.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 12 22:46:27 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 1Jveua-0003H1-QW for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 22:46:21 +0200 Original-Received: from localhost ([127.0.0.1]:54745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jvetr-0001Jl-U6 for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 16:45:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jvetn-0001J9-Mi for emacs-devel@gnu.org; Mon, 12 May 2008 16:45:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jvetl-0001In-LB for emacs-devel@gnu.org; Mon, 12 May 2008 16:45:30 -0400 Original-Received: from [199.232.76.173] (port=56363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jvetl-0001Ih-HW for emacs-devel@gnu.org; Mon, 12 May 2008 16:45:29 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:3892 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jvetf-0004Tv-Ea; Mon, 12 May 2008 16:45:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsABALJIKEjO+JgrdGdsb2JhbACBU5A8ASeaAg X-IronPort-AV: E=Sophos;i="4.27,475,1204520400"; d="scan'208";a="20456676" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 12 May 2008 16:45:21 -0400 Original-Received: from pastel.home ([206.248.152.43]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id SZF67121; Mon, 12 May 2008 16:45:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3B07E801D; Mon, 12 May 2008 16:45:21 -0400 (EDT) In-Reply-To: <18472.42267.828638.153027@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 12 May 2008 22:14:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:97050 Archived-At: >> + (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. > It would work if above line was moved to files.el. It's not that important anyway: since Emacs-22, all variables are presumed unsafe unless explicitly marked as safe. Stefan