Debian Patches
Status for golang-k8s-sigs-structured-merge-diff-v6/6.4.2-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-Fix-32-bit-int-overflow-in-fieldpath-set_test.go.patch | Fix 32-bit int overflow in fieldpath set_test.go The random path alphabet in TestFieldSet used the untyped constant 2147483648 (2^31) as a list index argument to MakePathOrDie. On 32-bit platforms (GOARCH=386, arm) Go's int is 32-bit, so 2^31 overflows int and the fieldpath test package fails to compile. Use math.MaxInt instead. On 64-bit platforms this exceeds 2^31, so it still exercises an index beyond the 32-bit range (the original intent); on 32-bit platforms it is the largest representable int, so the package compiles on every architecture. |
Arthur Diniz <arthurbd@debian.org> | yes | other, https://github.com/kubernetes-sigs/structured-merge-diff/pull/347 | 2026-09-01 |
All known versions for source package 'golang-k8s-sigs-structured-merge-diff-v6'
- 6.4.2-1 (forky, sid)
