mpz_root aborts for n-th root when n is very large

Volker Lukas vlukas at gmx.de
Mon Feb 28 16:00:16 CET 2011


Hi,

On Monday 28 February 2011, Torbjorn Granlund wrote:
> It turned out to be very simple to address this issue within the
> current logic of the code.
> 
> Please try this patch:
> 
> http://gmplib.org:8000/gmp/raw-rev/ac8585e811a2
I can confirm that both my testcase and the original software I was 
using do not abort anymore when this patch is applied to 5.0.1. A 
"make check" of the library and a Valgrind run of my testcase run 
cleanly too.

Thanks for dealing with this.


More information about the gmp-bugs mailing list