[Bug middle-end/77671] missing -Wformat-overflow warning on sprintf overflow with "%s"

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


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missing -Wformat-length     |missing -Wformat-overflow
                   |warning on sprintf overflow |warning on sprintf overflow
                   |with "%s"                   |with "%s"

--- Comment #3 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