gmp_snprintf tries to allocate 18 EB on long strings
Marco Bodrato
bodrato at mail.dm.unipi.it
Fri Feb 9 22:01:36 UTC 2018
Ciao Vincent,
Il Gio, 1 Febbraio 2018 11:32 am, Niels Möller ha scritto:
> I think we should be able to rely on C99 vsnprintf. If need, check for
> correct behavior in configure, and fall back to repl_vsnprintf if
> snprintf exhibits non-standard behavior.
The issue you spotted should be healed by the two patches below:
https://gmplib.org/repo/gmp/rev/725745f3637f
https://gmplib.org/repo/gmp/rev/d6b57abdad8e
Ĝis,
m
--
http://bodrato.it/
More information about the gmp-devel
mailing list