[Bug middle-end/78786] GCC hangs/out of memory calling sprintf with large precision

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 13 03:58:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78786

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
                URL|                            |https://gforge.inria.fr/tra
                   |                            |cker/?aid=21056
   Last reconfirmed|                            |2016-12-13
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I reported #21056 - mpfr_snprintf allocates too much memory, to MPFR.  In the
meantime, a workaround is available in the post referenced in comment #0
(https://gcc.gnu.org/ml/gcc-patches/2016-12/msg01098.html).


More information about the Gcc-bugs mailing list