summaryrefslogtreecommitdiffstats
path: root/conf/cvelist.el
diff options
context:
space:
mode:
authorSebastien Delafond <seb@debian.org>2017-08-09 11:58:18 +0000
committerSebastien Delafond <seb@debian.org>2017-08-09 11:58:18 +0000
commit8321f13b34595378f647752e56d852899194c176 (patch)
tree276bd2a8c4477e473f93d806ec8ee2801eb49ac2 /conf/cvelist.el
parent094e4f65a8c28b69dc2a00268f4cfa5b4fb5c8e7 (diff)
In emacs debian-cvelist-mode, handle up to 7 digits in CVE IDs
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@54473 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'conf/cvelist.el')
-rw-r--r--conf/cvelist.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el
index b7eaad39b4..cf28be27de 100644
--- a/conf/cvelist.el
+++ b/conf/cvelist.el
@@ -26,11 +26,11 @@
"Keymap for `debian-cvelist-mode'.")
(defvar debian-cvelist-font-lock-keywords
- '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" . font-lock-function-name-face)
+ '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" . font-lock-function-name-face)
("^\tNOTE:" . font-lock-comment-delimiter-face)
("^\tTODO:" . font-lock-warning-face)
("^\t\\(RESERVED\\|NOT-FOR-US\\|REJECTED\\)" . font-lock-keyword-face)
- ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" "\\[\\(.*\\)\\]$" nil nil (1 font-lock-variable-name-face))
+ ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "\\[\\(.*\\)\\]$" nil nil (1 font-lock-variable-name-face))
("\\<unfixed\\|undetermined\\>" . font-lock-warning-face)
("\\<end-of-life\\|not-affected\\|no-dsa\\>" . font-lock-constant-face))
"Keyword highlighting for `debian-cvelist-mode'")

© 2014-2024 Faster IT GmbH | imprint | privacy policy