Affected by GO-2024-2597
and 3 other vulnerabilities
GO-2024-2597: Integer overflow in chunking helper causes dispatching to miss elements or panic in github.com/authzed/spicedb
GO-2024-2716: SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used in github.com/authzed/spicedb
GO-2024-2939: SpiceDB exclusions can result in no permission returned when permission expected in github.com/authzed/spicedb
GO-2024-3131: SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
package
Version:
v1.28.0
Opens a new window with list of versions in this module.
Published: Nov 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func ForEachChunk[T any](data []T, chunkSize uint16, handler func(items []T))
ForEachChunk executes the given handler for each chunk of items in the slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.