[Secure-testing-commits] r56810 - bin
Raphael Geissert
geissert at moszumanska.debian.org
Wed Oct 18 09:17:45 UTC 2017
Author: geissert
Date: 2017-10-18 09:17:45 +0000 (Wed, 18 Oct 2017)
New Revision: 56810
Modified:
bin/check-new-issues
Log:
Cleanup the CVE text a bit
Drops Status, Category and Current Votes fields
Modified: bin/check-new-issues
===================================================================
--- bin/check-new-issues 2017-10-18 09:16:11 UTC (rev 56809)
+++ bin/check-new-issues 2017-10-18 09:17:45 UTC (rev 56810)
@@ -120,7 +120,13 @@
foreach my $cve (@{$CVEs}) {
$cve =~ /^Name:\s*(CVE\S+)/m or next;
- $data->{$1}->{CVE}=\$cve;
+ my $name = $1;
+
+ # cleanup the description
+ $cve =~ s/^Current Votes:.+candidate not yet[^\n]+\n{2,3}//ms;
+ $cve =~ s/^(?:Phase|Status|Category):[^\n]*\n//gms;
+
+ $data->{$name}->{CVE}=\$cve;
}
my %wnpp;
More information about the Secure-testing-commits
mailing list