bug-gnulib
[Top][All Lists]
Advanced

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

Re: INT_ADD_WRAPV and friends - bug fixed


From: Eli Zaretskii
Subject: Re: INT_ADD_WRAPV and friends - bug fixed
Date: Thu, 15 Aug 2019 17:09:49 +0300

> From: Paul Eggert <address@hidden>
> Cc: address@hidden
> Date: Wed, 14 Aug 2019 17:48:04 -0700
> 
> Eli Zaretskii wrote:
> >    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37006
> 
> Thanks for reporting that bug. I fixed it by installing the attached into 
> Gnulib.

Thanks!

> Ad-hoc integer-overflow checking is unfortunately quite error-prone in C-like 
> languages, which why INT_ADD_WRAPV etc. are useful.

Indeed, that's why these macros must be very safe in use.



reply via email to

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