Skip to content

Commit

Permalink
fix accidental writing to err value that is outside of worker goroutines
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 authored and ChrisSchinnerl committed Nov 19, 2024
1 parent c8b1aed commit e50554e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions explorer/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func (e *Explorer) addHostScans(hosts chan Host) {
}

var scan HostScan
var err error
if len(host.V2NetAddresses) == 0 {
scan, err = e.scanV1Host(locator, host)
} else {
Expand Down

0 comments on commit e50554e

Please sign in to comment.