From 20ad20f8eb5dabef85373cf0e10cd3cf9295fc24 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 6 Apr 2025 15:21:10 -0400 Subject: [PATCH] fix(syntax): +syntax--only-check-elisp-buffers-in-projects-a signature The previous signature was accidentally compatible with `elisp-flymake-byte-compile`, so there was no error, but still. --- modules/checkers/syntax/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/checkers/syntax/config.el b/modules/checkers/syntax/config.el index 4b74cf63c..4e0677126 100644 --- a/modules/checkers/syntax/config.el +++ b/modules/checkers/syntax/config.el @@ -130,7 +130,7 @@ ;; HACK: Disable the emacs-lisp checker in non-project (likely untrusted) ;; buffers to mitigate potential code execution vulnerability during macro ;; expansion. See CVE-2024-53920. - (defadvice! +syntax--only-check-elisp-buffers-in-projects-a (fn &rest args) + (defadvice! +syntax--only-check-elisp-buffers-in-projects-a (&rest _) "Prevent the elisp checker in non-project buffers (for CVE-2024-53920)." :before-while #'elisp-flymake-byte-compile (doom-project-p)))