On 04. 01. 21 13:02, Aki Tuomi wrote:
We are pleased to release v2.3.13. Please find it from locations below:
https://dovecot.org/releases/2.3/dovecot-2.3.13.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.13.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images in https://hub.docker.com/r/dovecot/dovecot
Hi,
for i686 and armv7hl build time test fails on Panic: file time-util.c: line 65 (timeval_cmp_margin): assertion failed: (usecs_diff >= 0)
On these architectures, time_t in timeval->tv_sec is only 4 bytes, same as (long) int.
This causes test to fail in test_timeval_cmp_margin for test data ... },{ .tv1 = { -INT_MAX, 0 }, .tv2 = { INT_MAX, 0 }, .output = -1, }, ...
as timeval_cmp_margin(...) tries to substract negative value from maximal value and it overflows
48: usecs_diff = (tv2->tv_sec - tv1->tv_sec) * 1000000LL + 49: (tv2->tv_usec - tv1->tv_usec);
Cheers, Michal