go.mod: update to images@v0.117.0
This commit updates to images v0.117.0 so that the cross-distro.sh test works again (images removed fedora-39.json in main but the uses the previous version of images that includes fedora-39 so there is a mismatch (we should look into if there is a way to get github.com/osbuild/images@latest instead of main in the cross-arch test). It also updates all the vendor stuff that got pulled via the new images release (which is giantonormous). This update requires updating the Go version to 1.22.8
This commit is contained in:
parent
886ddc0bcc
commit
409b4f6048
584 changed files with 60776 additions and 50181 deletions
12
vendor/github.com/sylabs/sif/v2/pkg/sif/create.go
generated
vendored
12
vendor/github.com/sylabs/sif/v2/pkg/sif/create.go
generated
vendored
|
|
@ -23,21 +23,19 @@ var errAlignmentOverflow = errors.New("integer overflow when calculating alignme
|
|||
|
||||
// nextAligned finds the next offset that satisfies alignment.
|
||||
func nextAligned(offset int64, alignment int) (int64, error) {
|
||||
align64 := uint64(alignment)
|
||||
offset64 := uint64(offset)
|
||||
align64 := int64(alignment)
|
||||
|
||||
if align64 <= 0 || offset64%align64 == 0 {
|
||||
if align64 <= 0 || offset%align64 == 0 {
|
||||
return offset, nil
|
||||
}
|
||||
|
||||
offset64 += (align64 - offset64%align64)
|
||||
align64 -= offset % align64
|
||||
|
||||
if offset64 > math.MaxInt64 {
|
||||
if (math.MaxInt64 - offset) < align64 {
|
||||
return 0, errAlignmentOverflow
|
||||
}
|
||||
|
||||
//nolint:gosec // Overflow handled above.
|
||||
return int64(offset64), nil
|
||||
return offset + align64, nil
|
||||
}
|
||||
|
||||
// writeDataObjectAt writes the data object described by di to ws, using time t, recording details
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue