mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Update syft bootstrap tools to latest versions. (#1171)
* Update syft bootstrap tools to latest versions. Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Weston Steimel <weston.steimel@anchore.com> Co-authored-by: Weston Steimel <weston.steimel@anchore.com>
This commit is contained in:
co-authored by
Weston Steimel
parent
6949a2500f
commit
b0fc955e0c
@@ -95,7 +95,8 @@ type directoryEnd struct {
|
||||
}
|
||||
|
||||
// note: this is derived from readDirectoryEnd within the archive/zip package
|
||||
// nolint:gocognit
|
||||
//
|
||||
//nolint:gocognit
|
||||
func findArchiveStartOffset(r io.ReaderAt, size int64) (startOfArchive uint64, err error) {
|
||||
// look for directoryEndSignature in the last 1k, then in the last 65k
|
||||
var buf []byte
|
||||
|
||||
Reference in New Issue
Block a user