mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-22 01:35:25 +00:00
Merge pull request #1407 from projectdiscovery/issue-1405-cve-annotate-crash
Fixing CVE annotate crash
This commit is contained in:
commit
c1b55d06a6
@ -71,7 +71,7 @@ func getCVEData(client *nvd.Client, filePath, data string) {
|
|||||||
cveName := matches[0][1]
|
cveName := matches[0][1]
|
||||||
|
|
||||||
severityMatches := severityRegex.FindAllStringSubmatch(data, 1)
|
severityMatches := severityRegex.FindAllStringSubmatch(data, 1)
|
||||||
if len(matches) == 0 {
|
if len(severityMatches) == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
severityValue := severityMatches[0][1]
|
severityValue := severityMatches[0][1]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user