Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id BA50563B882 for ; Mon, 13 Aug 2012 06:39:08 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 98D9914A22F; Mon, 13 Aug 2012 06:39:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE47B14A22E for ; Mon, 13 Aug 2012 06:39:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id oODYQK-y7017 for ; Mon, 13 Aug 2012 06:39:06 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5CB8E14A22B for ; Mon, 13 Aug 2012 06:39:06 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 511A1175DD; Mon, 13 Aug 2012 06:39:06 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Mon, 13 Aug 2012 06:39:06 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/editors/emacs24/patches To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20120813063906.511A1175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Mon Aug 13 06:39:06 UTC 2012 Added Files: pkgsrc/editors/emacs24/patches: patch-lisp_files.el Log Message: Fix CVE-2012-3479: When the Emacs user option `enable-local-variables' is set to `:safe' (the default value is t), Emacs should automatically refuse to evaluate `eval' forms in file-local variable sections. Due to the bug, Emacs instead automatically evaluates such `eval' forms. Thus, if the user changes the value of `enable-local-variables' to `:safe', visiting a malicious file can cause automatic execution of arbitrary Emacs Lisp code with the permissions of the user. Bug tracker ref: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12155 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/editors/emacs24/patches/patch-lisp_files.el Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.