[Bug middle-end/77799] missing -Wformat-overflow warning on a trivial sprintf overflow with no directives

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 10 21:56:00 GMT 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missing -Wformat-length     |missing -Wformat-overflow
                   |warning on a trivial        |warning on a trivial
                   |sprintf overflow with no    |sprintf overflow with no
                   |directives                  |directives

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning has been renamed to -Wformat-overflow (and -Wformat-truncation). 
Adjusting Summary.


More information about the Gcc-bugs mailing list