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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
According to
https://www.gnu.org/software/libc/manual/html_node/Registering-New-Conversions.html,
people may custom vfprintf with printf_function.  If the printf_function is
implemented in C++ and throws, then yes there is indeed a leak.

So the warning is not so false with Glibc.

Reply via email to