Debian Patches
Status for golang-github-oschwald-maxminddb-golang-v2/2.2.0-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| Skip-uint64-max-epoch-test-on-32-bit-architectures.patch | Skip uint64-max-epoch test on 32-bit architectures This test is documented in test-data/bad-data/README.md: > Note: `libmaxminddb/libmaxminddb-uint64-max-epoch.mmdb` contains a > valid database structure with `build_epoch` set to `UINT64_MAX`. It > may not produce a reader error but can cause overflow in time type > conversions. Inded it fails on 32-bit architectures with the following error: ``` cannot unmarshal 18446744073709551615 (uint64) into type uint ``` This is caused by the fact that the field BuildEpoch in the Metadata struct is defined as a uint, not a uint64, and the size of a uint is likely to be 32 bits on 32-bits architectures. Unfortunately, changing the BuildEpoch to be a uint64 is a breaking change, so for now all we can do is to skip the test. |
Arnaud Rebillout <arnaudr@debian.org> | no | upstream, https://github.com/oschwald/maxminddb-golang/commit/212b1c88c1443a0b451b0b1ab4b206fdd39eb74a | 2026-05-07 |
All known versions for source package 'golang-github-oschwald-maxminddb-golang-v2'
- 2.2.0-1 (forky, sid)
