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 |
1 | ulm 07/11/03 14:49:22 |
2 | |
3 | Added: emacs-22.1-hack-local-variables.patch |
4 | digest-emacs-22.1-r2 |
5 | Log: |
6 | Security fix for function hack-local-variables, CVE-2007-5795, bug #197958. |
7 | (Portage version: 2.1.3.16) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-editors/emacs/files/emacs-22.1-hack-local-variables.patch |
11 | |
12 | 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 |
13 | 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 |
14 | |
15 | Index: emacs-22.1-hack-local-variables.patch |
16 | =================================================================== |
17 | --- lisp/files.el 13 Oct 2007 14:09:56 -0000 1.896.2.28 |
18 | +++ lisp/files.el 2 Nov 2007 11:02:12 -0000 1.896.2.29 |
19 | @@ -2764,8 +2764,8 @@ |
20 | ;; If caller wants only the safe variables, |
21 | ;; install only them. |
22 | (dolist (elt result) |
23 | - (unless (or (memq (car elt) unsafe-vars) |
24 | - (memq (car elt) risky-vars)) |
25 | + (unless (or (member elt unsafe-vars) |
26 | + (member elt risky-vars)) |
27 | (hack-one-local-variable (car elt) (cdr elt)))) |
28 | ;; Query, except in the case where all are known safe |
29 | ;; if the user wants no quuery in that case. |
30 | |
31 | |
32 | |
33 | 1.1 app-editors/emacs/files/digest-emacs-22.1-r2 |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/files/digest-emacs-22.1-r2?rev=1.1&view=markup |
36 | 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 |
37 | |
38 | Index: digest-emacs-22.1-r2 |
39 | =================================================================== |
40 | MD5 6949df37caec2d7a2e0eee3f1b422726 emacs-22.1.tar.gz 38172226 |
41 | RMD160 da5360871db8b1d473ff7f0b0937ee6c278c0b19 emacs-22.1.tar.gz 38172226 |
42 | SHA256 1ec43bef7127e572f92d7c3a846951cf8e263e27445c62c867035f94681c3ed0 emacs-22.1.tar.gz 38172226 |
43 | |
44 | |
45 | |
46 | -- |
47 | gentoo-commits@g.o mailing list |