fixup! org-man-open: Fix shell expansion vulnerability (Emacs bug#66390)

This commit is contained in:
Ihor Radchenko 2024-01-11 14:15:19 +01:00
parent bc3caa8f90
commit 6b60b5ac12
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ matched strings in man buffer."
(let* ((command (match-string 1 path)) (let* ((command (match-string 1 path))
;; FIXME: Remove after we drop Emacs 29 support. ;; FIXME: Remove after we drop Emacs 29 support.
;; Working around security bug #66390. ;; Working around security bug #66390.
(command (if (org-man-store-link (equal (Man-translate-references ";id") "\\;id")) (command (if (equal (Man-translate-references ";id") "\\;id")
;; We are on Emacs that properly escapes man ;; We are on Emacs that properly escapes man
;; command args (see Emacs commit 820f0793f0b). ;; command args (see Emacs commit 820f0793f0b).
command command