Debian Patches

Status for golang-github-labstack-gommon/0.2.6-2

Patch Description Author Forwarded Bugs Origin Last update
PR-38.patch [PATCH] do not rely on undefined behaviour in bytes_test.go
8 exbi equals 2^64, therefore it cannot be stored in int64. The tests use
the fact that on x86_64 the following expressions holds true:
int64(0) - 1 == math.MaxInt64.

However, this is not true for other platforms, specifically aarch64, s390x
and ppc64le.

This commit fixes it by testing the library with 7 exbi.

Fixes #37
=?UTF-8?q?Ond=C5=99ej=20Budai?= <obudai@redhat.com> no 2020-08-26

All known versions for source package 'golang-github-labstack-gommon'

Links