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: Mon, 12 May 2008 22:14:19 +0200 Message-ID: <18472.42267.828638.153027@a1ihome1.kph.uni-mainz.de> References: <87mymy6wnq.fsf@stupidchicken.com> <6EE216E1AA959543A555C60FF34FB7670418B0A2@maileube01.misys.global.ad> <6EE216E1AA959543A555C60FF34FB767041E7950@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 1210623708 21671 80.91.229.12 (12 May 2008 20:21:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2008 20:21:48 +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 Mon May 12 22:22:23 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 1JveQp-00075Y-Bu for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 22:15:35 +0200 Original-Received: from localhost ([127.0.0.1]:43785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JveQ6-00048j-Ce for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 16:14:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JveQ3-00047a-3N for emacs-devel@gnu.org; Mon, 12 May 2008 16:14:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JveQ0-00044l-GZ for emacs-devel@gnu.org; Mon, 12 May 2008 16:14:46 -0400 Original-Received: from [199.232.76.173] (port=56424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JveQ0-00044i-EE for emacs-devel@gnu.org; Mon, 12 May 2008 16:14:44 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:46744) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvePr-0001GD-Fd; Mon, 12 May 2008 16:14:35 -0400 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m4CKELOb017256; Mon, 12 May 2008 22:14:21 +0200 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.2/8.14.1) with ESMTP id m4CKELwL009240; Mon, 12 May 2008 22:14:21 +0200 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.2/8.14.2/Submit) id m4CKEKNp009235; Mon, 12 May 2008 22:14:20 +0200 In-Reply-To: <6EE216E1AA959543A555C60FF34FB767041E7950@maileube01.misys.global.ad> X-Mailer: VM 8.0.9 under Emacs 22.1.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:97046 Archived-At: >>>>> On Mon, 12 May 2008, Marshall, Simon wrote: >> > Probably the most reasonable fix, in the circumstances, is to >> > make fast-lock-cache-directories a risky local variable and >> > remove "." from its default value? >> >> Sounds OK. > Attached is a patch. Simon. > + (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. Ulrich