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:
anchore-actions-token-generator[bot]
2022-08-23 20:36:59 +01:00
committed by GitHub
co-authored by Weston Steimel
parent 6949a2500f
commit b0fc955e0c
21 changed files with 161 additions and 137 deletions
+2 -1
View File
@@ -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