bug-gnulib
[Top][All Lists]
Advanced

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

Re: ptrdiff_t overflow checks for malloc-posix etc.


From: Paul Eggert
Subject: Re: ptrdiff_t overflow checks for malloc-posix etc.
Date: Sun, 18 Apr 2021 21:20:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/18/21 5:04 PM, Bruno Haible wrote:
Paul Eggert wrote:
I installed the attached instead, as this is simpler.

And I'm already starting to wonder whether testing for ptrdiff_t overflow was such a good idea. I installed the attached further patch to try to pacify GCC diagnostics about them.

If these ptrdiff_t tests turn out to be too much trouble we can always withdraw them.

Attachment: 0001-malloc-gnu-tests-pacify-Walloc-size-larger-than.patch
Description: Text Data


reply via email to

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