[Bug c/72783] Fortify scanf %s, %[ conversion specifiers

felix.von.s at posteo dot de gcc-bugzilla@gcc.gnu.org
Tue Mar 7 17:55:00 GMT 2017


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

felix <felix.von.s at posteo dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |felix.von.s at posteo dot de

--- Comment #4 from felix <felix.von.s at posteo dot de> ---
A few days ago I've filed PR 79816, which would cover this and also passing
character arrays to printf-style functions. Good to know someone's working on
this.

By the way: in my report, I suggested making -Wformat-security enable this
warning. Will -Wformat-length be implied by -Wformat-security?


More information about the Gcc-bugs mailing list