[Misc] Fix vulnerability of Enriched Text support for x-display MIME type
This commit is contained in:
parent
9358d3f24b
commit
b601348690
6
init.el
6
init.el
|
@ -200,6 +200,12 @@
|
||||||
"PERL_MB_OPT"
|
"PERL_MB_OPT"
|
||||||
"PERL_MM_OPT"))
|
"PERL_MM_OPT"))
|
||||||
|
|
||||||
|
;; Fixes
|
||||||
|
|
||||||
|
(eval-after-load "enriched"
|
||||||
|
'(defun enriched-decode-display-prop (start end &optional param)
|
||||||
|
(list start end)))
|
||||||
|
|
||||||
t)
|
t)
|
||||||
|
|
||||||
(add-hook 'after-init-hook #'db/run-init)
|
(add-hook 'after-init-hook #'db/run-init)
|
||||||
|
|
Loading…
Reference in New Issue