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 | 99098faf4fb367bd1d1a1b209a8d4ce6512d47a3 (patch) | |
tree | 8d40a6f6cd51db856cd09517112e681d8c0e7708 /bin | |
parent | 3d3b6e93dbb09ed3d962c7e2f07da92bd29409bc (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; |