bug-m4
[Top][All Lists]
Advanced

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

singed integer overflow


From: Ivan Sorokin
Subject: singed integer overflow
Date: Tue, 29 Dec 2015 02:31:10 +0300

I compiled m4 1.4.17 with -fsanitize=undefined enabled. -fsanitize=undefined is a compiler flag that enables runtime checks for different types of undefined behavior.
It turned out that a test 189.eval fails with m4 compiled with this option.

The problem is signed integer overflow. I fixed this problem in the same manner as it is done in evaluation of expressions.

See attached patch.

Attachment: gnu-m4-1.4.17-fix-signed-integer-overflow.patch
Description: Text Data


reply via email to

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