diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-03-18 19:41:17 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-03-18 20:30:15 +0100 |
commit | 846d93872d0794a3a39d1b9e31b85b3367e65671 (patch) | |
tree | c39ea7d033c82f0a123e64fd338c014e2f1de6c9 /bin | |
parent | cdf2e2ef49758e8f38015d2dcc45d5f77366eb88 (diff) |
Adapt parsing of MITRE master list according to new layout in html
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/updatelist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updatelist b/bin/updatelist index 6af7b44cc0..655931a87d 100755 --- a/bin/updatelist +++ b/bin/updatelist @@ -48,7 +48,7 @@ while (<HTML>) { if (m!\*\*\s+REJECT\s+\*\*!) { $cves{$cve}{rejected}=1; } - if (m!Description:\s*</b><br>\s*(.*)! && + if (m!Description:\s*</b><p>\s*(.*)</p>! && ! m!\*\*\s+RESERVED\s+\*\*! && ! m!\*\*\s+REJECT\s+\*\*!) { my $desc; $desc=$1; |