Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/emacs/files: emacs-22.1-hack-local-variables.patch digest-emacs-22.1-r2
Date: Sat, 03 Nov 2007 14:49:28
Message-Id: E1IoKJO-0006Ms-66@stork.gentoo.org
ulm         07/11/03 14:49:22

  Added:                emacs-22.1-hack-local-variables.patch
                        digest-emacs-22.1-r2
  Log:
  Security fix for function hack-local-variables, CVE-2007-5795, bug #197958.
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.1                  app-editors/emacs/files/emacs-22.1-hack-local-variables.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/emacs-22.1-hack-local-variables.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/emacs-22.1-hack-local-variables.patch?rev=1.1&content-type=text/plain

Index: emacs-22.1-hack-local-variables.patch
===================================================================
--- lisp/files.el	13 Oct 2007 14:09:56 -0000	1.896.2.28
+++ lisp/files.el	2 Nov 2007 11:02:12 -0000	1.896.2.29
@@ -2764,8 +2764,8 @@
 		;; If caller wants only the safe variables,
 		;; install only them.
 		(dolist (elt result)
-		  (unless (or (memq (car elt) unsafe-vars)
-			      (memq (car elt) risky-vars))
+		  (unless (or (member elt unsafe-vars)
+			      (member elt risky-vars))
 		    (hack-one-local-variable (car elt) (cdr elt))))
 	      ;; Query, except in the case where all are known safe
 	      ;; if the user wants no quuery in that case.



1.1                  app-editors/emacs/files/digest-emacs-22.1-r2

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/digest-emacs-22.1-r2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/digest-emacs-22.1-r2?rev=1.1&content-type=text/plain

Index: digest-emacs-22.1-r2
===================================================================
MD5 6949df37caec2d7a2e0eee3f1b422726 emacs-22.1.tar.gz 38172226
RMD160 da5360871db8b1d473ff7f0b0937ee6c278c0b19 emacs-22.1.tar.gz 38172226
SHA256 1ec43bef7127e572f92d7c3a846951cf8e263e27445c62c867035f94681c3ed0 emacs-22.1.tar.gz 38172226



-- 
gentoo-commits@g.o mailing list