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-cvs/files: emacs-cvs-hack-local-variables.patch
Date: Sat, 03 Nov 2007 20:23:08
Message-Id: E1IoPWJ-0001Rd-8h@stork.gentoo.org
1 ulm 07/11/03 20:23:03
2
3 Added: emacs-cvs-hack-local-variables.patch
4 Log:
5 Security fix for function hack-local-variables, CVE-2007-5795, bug #197958.
6 (Portage version: 2.1.3.17)
7
8 Revision Changes Path
9 1.1 app-editors/emacs-cvs/files/emacs-cvs-hack-local-variables.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/files/emacs-cvs-hack-local-variables.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/files/emacs-cvs-hack-local-variables.patch?rev=1.1&content-type=text/plain
13
14 Index: emacs-cvs-hack-local-variables.patch
15 ===================================================================
16 --- lisp/files.el 13 Oct 2007 14:09:56 -0000 1.896.2.28
17 +++ lisp/files.el 2 Nov 2007 11:02:12 -0000 1.896.2.29
18 @@ -2764,8 +2764,8 @@
19 ;; If caller wants only the safe variables,
20 ;; install only them.
21 (dolist (elt result)
22 - (unless (or (memq (car elt) unsafe-vars)
23 - (memq (car elt) risky-vars))
24 + (unless (or (member elt unsafe-vars)
25 + (member elt risky-vars))
26 (hack-one-local-variable (car elt) (cdr elt))))
27 ;; Query, except in the case where all are known safe
28 ;; if the user wants no quuery in that case.
29
30
31
32 --
33 gentoo-commits@g.o mailing list