We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
There are a couple of instances where slices are appended to inside of goroutines. e.g.
https://github.com/sigstore/rekor/blob/main/pkg/api/entries.go#L356
and
Appends to slices are not thread-safe. Instead allocating the entire slice and assigning by index would work instead as in e.g.
This would mean post-filtering nils to construct response payload.
Version
The text was updated successfully, but these errors were encountered:
Can't assign myself, but I'll put in a pr for this.
Sorry, something went wrong.
fixed by #1006
cdris
No branches or pull requests
Description
There are a couple of instances where slices are appended to inside of goroutines. e.g.
https://github.com/sigstore/rekor/blob/main/pkg/api/entries.go#L356
and
https://github.com/sigstore/rekor/blob/main/pkg/api/entries.go#L356
Appends to slices are not thread-safe. Instead allocating the entire slice and assigning by index would work instead as in e.g.
https://github.com/sigstore/rekor/blob/main/pkg/api/entries.go#L356
This would mean post-filtering nils to construct response payload.
Version
The text was updated successfully, but these errors were encountered: