summaryrefslogtreecommitdiffstats
path: root/bin/check-new-issues
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2017-10-18 09:17:45 +0000
committerRaphael Geissert <geissert@debian.org>2017-10-18 09:17:45 +0000
commitc98ba027e4c8722f23fc1e8a17c5e4514558cd02 (patch)
tree79462d99893428bed0d8e5375da243d0f285cf35 /bin/check-new-issues
parenta32f91f8e6df9b5a3f5f42a96c0502a6e4740d59 (diff)
Cleanup the CVE text a bit
Drops Status, Category and Current Votes fields git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56810 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/check-new-issues')
-rwxr-xr-xbin/check-new-issues8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues
index a7e60db6f8..ec906c7b06 100755
--- a/bin/check-new-issues
+++ b/bin/check-new-issues
@@ -120,7 +120,13 @@ my $num_missing_bug;
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;

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