Affected by GO-2023-2166
and 4 other vulnerabilities
GO-2023-2166: SpiceDB leaks information in log files when URI cannot be parsed in github.com/authzed/spicedb
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.25.0
Opens a new window with list of versions in this module.
Published: Sep 1, 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.
Unique returns the items slice, but with duplicate items removed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.