Skip to content

Commit

Permalink
add mutex to scan builder
Browse files Browse the repository at this point in the history
  • Loading branch information
RicYaben committed Nov 15, 2024
1 parent ebd9fca commit 5485c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/mqtt/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func (b *ScanBuilder) Build(t *zgrab2.ScanTarget, scheme string) *scan {
Scheme: scheme,
Certificates: make([][]byte, 0),
},
mu: sync.Mutex{},
}
return scan
}

0 comments on commit 5485c73

Please sign in to comment.