Segmentation fault with mpz_inp_raw on gcc45

Paul Zimmermann Paul.Zimmermann at inria.fr
Fri Sep 17 06:01:07 UTC 2021


       Hi Torbjörn,

I confirm your fix works on gcc45:

zimmerma at gcc45:~/ecm$ gcc -I$HOME/include test.c $HOME/lib/libgmp.a
zimmerma at gcc45:~/ecm$ ./a.out 
XXX 2d65200d 0b594804
gmp: overflow in mpz type
Aborted

Thanks,
Paul


More information about the gmp-bugs mailing list