diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2024-01-04 10:23:09 +0100 |
---|---|---|
committer | Moritz Muehlenhoff <jmm@debian.org> | 2024-01-04 10:23:09 +0100 |
commit | 862f0bd0052b3a4a99f64350711254dc85746638 (patch) | |
tree | 64d094fb31755902215a95397865457f908ae56d /conf | |
parent | f8ac4f9c2091d832f1f98712f63cc6d2691d2cae (diff) |
cvelist.el: New defun to mark a CVE as a non issue
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cvelist.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el index ba79bb6b70..326c1fbf50 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -17,6 +17,7 @@ (setq last-nfu "") (setq bugnum "") +(setq non_issue_reason "Crash in CLI tool, no security impact") (setq newsrcpkg "") (setq default_distro "bullseye") @@ -41,6 +42,14 @@ (end-of-line) (insert " (bug #" bugnum ")" )) +(defun debian-cvelist-mark-non-issue () + "Mark an entry as a non issue." + (setq bugnum (read-string "Why is this a non-issue?: " non_issue_reason)) + (interactive) + (end-of-line) + (insert " (unimportant)" ) + (insert "\n\tNOTE: " non_issue_reason )) + ; TODO: Read supported distros from central config and prompt for applicable suites (defun debian-cvelist-insert-nodsa () "Insert no-dsa comment based on the current source entry." @@ -100,6 +109,7 @@ (define-key map (kbd "C-c C-x") 'debian-cvelist-insert-not-affected) (define-key map (kbd "C-c C-p") 'debian-cvelist-insert-postponed) (define-key map (kbd "C-c C-b") 'debian-cvelist-insert-bug) + (define-key map (kbd "C-c C-u") 'debian-cvelist-mark-non-issue) (define-key map (kbd "C-c C-p") 'debian-cvelist-ptslookup) map) "Keymap for `debian-cvelist-mode'.") |