cmd/vet: false negative in vet -shadow #19597
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What did you do?
go tool vet -shadow
finds one shadow for thehash
variable, but fails to notice thepassword
shadow.Source:
https://github.com/mcandre/go-ios7crypt/blob/61a282b2d8003e9372cbe37449c7008ee142f1fa/cmd/ios7crypt/main.go#L29-L43
Perhaps the shadow checker bombs out on the first occurrence, before it has a chance to scan the rest of the file?
The text was updated successfully, but these errors were encountered: