Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 603940 Details for
Bug 847698
CVE-2012-3479 emacs: Evaluation of 'eval' forms in file-local variable sections, when 'enable-local-variables' set to ':safe'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Provided (from [2]) upstream patch for v23.4 version
local-vars-patch-23.4.patch (text/plain), 1.37 KB, created by
Jan Lieskovsky
on 2012-08-13 09:56:45 UTC
(
hide
)
Description:
Provided (from [2]) upstream patch for v23.4 version
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2012-08-13 09:56:45 UTC
Size:
1.37 KB
patch
obsolete
>*** emacs-23.4/lisp/files.el~ 2012-08-13 10:50:42.340171173 +0800 >--- emacs-23.4/lisp/files.el 2012-08-13 10:51:12.528172450 +0800 >*************** >*** 2986,2996 **** > ;; Obey `enable-local-eval'. > ((eq var 'eval) > (when enable-local-eval >! (push elt all-vars) >! (or (eq enable-local-eval t) >! (hack-one-local-variable-eval-safep (eval (quote val))) >! (safe-local-variable-p var val) >! (push elt unsafe-vars)))) > ;; Ignore duplicates (except `mode') in the present list. > ((and (assq var all-vars) (not (eq var 'mode))) nil) > ;; Accept known-safe variables. >--- 2986,3001 ---- > ;; Obey `enable-local-eval'. > ((eq var 'eval) > (when enable-local-eval >! (let ((safe (or (hack-one-local-variable-eval-safep >! (eval (quote val))) >! ;; In case previously marked safe (bug#5636). >! (safe-local-variable-p var val)))) >! ;; If not safe and e-l-v = :safe, ignore totally. >! (when (or safe (not (eq enable-local-variables :safe))) >! (push elt all-vars) >! (or (eq enable-local-eval t) >! safe >! (push elt unsafe-vars)))))) > ;; Ignore duplicates (except `mode') in the present list. > ((and (assq var all-vars) (not (eq var 'mode))) nil) > ;; Accept known-safe variables. > >Diff finished. Mon Aug 13 10:53:45 2012
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 847698
: 603940 |
603943