[Git][security-tracker-team/security-tracker][master] 2 commits: Relax extraction for CVE description from allitems.txt file
Salvatore Bonaccorso
carnil at debian.org
Fri Jun 21 22:25:17 BST 2019
Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker
Commits:
42639745 by Salvatore Bonaccorso at 2019-06-21T21:20:56Z
Relax extraction for CVE description from allitems.txt file
MITRE recently did changes on the infrastructure to submit CVE entries
and slightly changed as well format of produced files.
Recent entries do not seem to contain anymore a strict \n\n\n separation
between the CVE description further from other notes attached to the
entry.
Slightly relax the regular expression but still try to catch correctly
the description only in the description() subroutine by still anchoring
to two \n\n, and two following \n\n to seperate the description.
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>
- - - - -
aa73d8fe by Salvatore Bonaccorso at 2019-06-21T21:25:13Z
Merge branch 'check-new-issues-parse-description' into 'master'
Relax extraction for CVE description from allitems.txt file
See merge request security-tracker-team/security-tracker!42
- - - - -
1 changed file:
- bin/check-new-issues
Changes:
=====================================
bin/check-new-issues
=====================================
@@ -448,7 +448,7 @@ sub description {
defined $data->{$name}->{CVE} or return "";
- ${$data->{$name}->{CVE}} =~ /\n\n(.*\n)\n\n/s;
+ ${$data->{$name}->{CVE}} =~ /\n\n(.*\n)\n/s;
my $desc = $1;
$desc =~ s/\n\n+/\n/;
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/1712d1c2045b49899fa5caa6de64c6d432f49cab...aa73d8fea0aeef9b590122efbcc173d0a5fcdf4f
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/1712d1c2045b49899fa5caa6de64c6d432f49cab...aa73d8fea0aeef9b590122efbcc173d0a5fcdf4f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20190621/177d3200/attachment-0001.html>
More information about the debian-security-tracker-commits
mailing list