[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test failure on FreeBSD 12.0

From: Paul Eggert
Subject: Re: test failure on FreeBSD 12.0
Date: Sun, 3 May 2020 18:38:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/3/20 2:58 AM, Bruno Haible wrote:
> Unfortunately, this patch does not fix the test failure on FreeBSD 12.0.

There are some other places where the m4 code assumes wrapv arithmetic (or
worse, where it messes up in other ways on integer overflow). Attached is a
patch that fixes some of the problems I found. I expect this'll fix the bug you
ran into.

Silent wraparound is not good, and m4's builtins should either diagnose integer
overflow, or (better) m4 should use GMP so that there's no practical limit. But
that's a bigger project.

Attachment: 0001-Fix-integer-overflow-bugs.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]