summaryrefslogtreecommitdiffstats
path: root/lib/python/sectracker
diff options
context:
space:
mode:
authorThijs Kinkhorst <thijs@debian.org>2013-12-05 12:16:57 +0000
committerThijs Kinkhorst <thijs@debian.org>2013-12-05 12:16:57 +0000
commit0ebd78f8eef0900a485626e0b483bab26d04c138 (patch)
tree3bd8b9221192abe8734012679b3ab0f466018283 /lib/python/sectracker
parent4ba901297dcdb6106f893217ae58a0b0ecde6f9d (diff)
prepare for new CVE format
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@24590 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/sectracker')
-rw-r--r--lib/python/sectracker/parsers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/sectracker/parsers.py b/lib/python/sectracker/parsers.py
index 181b3e16d4..6354dcccb6 100644
--- a/lib/python/sectracker/parsers.py
+++ b/lib/python/sectracker/parsers.py
@@ -241,7 +241,7 @@ def _parselist(path, f, parseheader, finish):
@_xpickle.loader("CVE" + FORMAT)
def cvelist(path, f):
- re_header = re.compile(r'^(CVE-\d{4}-(?:\d{4}|XXXX))\s+(.*?)\s*$')
+ re_header = re.compile(r'^(CVE-\d{4}-(?:\d{4,}|XXXX))\s+(.*?)\s*$')
def parseheader(line):
match = re_header.match(line)
if match is None:

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