diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-02-03 10:22:37 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-02-03 10:22:37 +0000 |
commit | b0091017aa2941e6f2ac4c9d4e9f3fb7916e68f9 (patch) | |
tree | 64067b3f7e712ae2f78c0200967b795a82226d0e /conf | |
parent | 669e58a39d511babf7d26e6b5c8e3291fe1b0ce9 (diff) |
Handle 5 digit CVEs
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@48680 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cvelist.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el index 03b5f56f91..b7eaad39b4 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\\}" . font-lock-function-name-face) + '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" . 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\\}" "\\[\\(.*\\)\\]$" nil nil (1 font-lock-variable-name-face)) + ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" "\\[\\(.*\\)\\]$" 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'") |