diff --git a/internal/vulncheck/binary.go b/internal/vulncheck/binary.go index a683a01..71ccc8a 100644 --- a/internal/vulncheck/binary.go +++ b/internal/vulncheck/binary.go @@ -159,9 +159,7 @@ func allKnownVulnerableSymbols(affVulns affectingVulns) map[string][]string { syms = []string{fmt.Sprintf("%s/*", p.Path)} } - for _, symbol := range syms { - pkgSymbols[p.Path] = append(pkgSymbols[p.Path], symbol) - } + pkgSymbols[p.Path] = append(pkgSymbols[p.Path], syms...) } } }