[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-bugs
Subject: Re: Upstream patch to remove abort() that occur during memory overflow
From: tg () gmplib ! org (=?utf-8?Q?Torbj=C3=B6rn?= Granlund)
Date: 2020-09-13 9:38:30
Message-ID: 86zh5uqand.fsf () shell ! gmplib ! org
[Download RAW message or body]
Marco Bodrato <bodrato@mail.dm.unipi.it> writes:
With ABI=64 I get:
16777216 ^ 768614336404564651 = 256
With ABI=32 I get:
16777216 ^ 178956971 = 256
Not a signal, nor an abort, simply an incorrect result :-)
That's undesirable.
I thought we cought overflows also in this difficult a^b case by
(indirectly means of allocation errors).
--
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic