Control: tags -1 fixed-upstream On 2017-05-23 21:43:06 +0200, Vincent Lefevre wrote: > Consider the following program: > > #include <stdio.h> > #include <gmp.h> > > int main(void) > { > int r; > long n = -1; > > r = gmp_snprintf (NULL, 0, "%2147483600s%100s%ln", "", "", &n); > printf ("%d %ld\n", r, n); > return 0; > } > > On my Debian/unstable x86_64 machine (GMP 6.1.2 provided by the Debian > package), I get after 273 seconds: > > GNU MP: Cannot allocate memory (size=18446744071562067968)
With upstream's GMP 6.2.0, I get: -1 -1 So the bug is fixed upstream. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers