diff options
author | Thijs Kinkhorst <thijs@debian.org> | 2013-12-05 12:16:57 +0000 |
---|---|---|
committer | Thijs Kinkhorst <thijs@debian.org> | 2013-12-05 12:16:57 +0000 |
commit | 0ebd78f8eef0900a485626e0b483bab26d04c138 (patch) | |
tree | 3bd8b9221192abe8734012679b3ab0f466018283 /lib/python/sectracker | |
parent | 4ba901297dcdb6106f893217ae58a0b0ecde6f9d (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.py | 2 |
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: |