| 48 |
if (m!\*\*\s+REJECT\s+\*\*!) { |
if (m!\*\*\s+REJECT\s+\*\*!) { |
| 49 |
$cans{$can}{rejected}=1; |
$cans{$can}{rejected}=1; |
| 50 |
} |
} |
| 51 |
|
if (m!Description:\s*</b><br>\s*(.*)! && |
| 52 |
|
! m!\*\*\s+RESERVED\s+\*\*! && ! m!\*\*\s+REJECT\s+\*\*!) { |
| 53 |
|
$cans{$can}{description}="($1 ...)"; |
| 54 |
|
} |
| 55 |
} |
} |
| 56 |
close FULL_CAN; |
close FULL_CAN; |
| 57 |
|
|
| 90 |
while (<IN>) { |
while (<IN>) { |
| 91 |
chomp; |
chomp; |
| 92 |
if (/^((?:CAN|CVE)-[-0-9]*)\s*(.*)/) { |
if (/^((?:CAN|CVE)-[-0-9]*)\s*(.*)/) { |
| 93 |
|
my $desc=$2; |
| 94 |
docan($can) if $can; |
docan($can) if $can; |
| 95 |
$can=$1; |
$can=$1; |
| 96 |
$cans{$can}{description}=$2 if length $2; |
$cans{$can}{description}=$desc if length $desc && $desc !~ /^\(.*\)$/; |
| 97 |
} |
} |
| 98 |
elsif (/^\s+NOTE:\s*(reserved|rejected)\s*$/) { |
elsif (/^\s+NOTE:\s*(reserved|rejected)\s*$/) { |
| 99 |
# skip it |
# skip it |