bug-gnulib
[Top][All Lists]
Advanced

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

Re: checking against signed integer overflow


From: Bruno Haible
Subject: Re: checking against signed integer overflow
Date: Mon, 07 Dec 2020 20:51:34 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

Hi Paul,

> >    1) publish the current gnulib doc on www.gnu.org (as we do occasionally
> >       anyway) [I can do that],

I just published the doc now.

> >    2) write a news entry in https://savannah.gnu.org/projects/gnulib
> >    3) approve it, also through https://savannah.gnu.org/projects/gnulib
> 
> Sure, here's a quick draft at a news entry.
> 
> Gnulib's intprops module has new macros INT_ADD_OK, INT_SUBTRACT_OK, and 
> INT_MULTIPLY_OK that support portable overflow checking while doing integer 
> arithmetic. On GNU platforms the macros typically use only a single machine 
> instruction more than ordinary integer arithmetic would.

It also needs a title/subject. How about this?

  Gnulib helps you avoid integer overflow vulnerabilities

Then please go ahead!

Bruno




reply via email to

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