Karim Belabas on Fri, 13 Mar 2015 14:37:44 +0100


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

Re: segfault in ver. 2.7.3


* Joerg Arndt [2015-03-13 13:25]:
> default(realprecision,27);
> default(echo,1);
> default(format,"f.5");
> 
> x = -0.00000000000000000000000000000000000000293873587705572;
> x
> 
> gives:
> 
> ? default(format,"f.5");
> ? x=-0.00000000000000000000000000000000000000293873587705572;
> ? x
>   ***   bug in PARI/GP (Segmentation Fault), please report.

Buffer overflow in absrtostr() ["f" format hasn't been tested well enough ].
Now fixed in commit 359e4ba4.

Thanks !

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`