/ go Public
cmd/link: suspicious use of (*cmd/internal/bio/buf.Reader).Seek #28556
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
While a running a recent test of vet, it flagged the (*buf.Reader).Seek method as not having a proper return type (int64, error). Instead it handles errors by calling log.Fatal, yet most callers of this function seem to assume it returns a negative number to indicate failure.
Someone who knows this code should probably audit it.
The text was updated successfully, but these errors were encountered: