This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/72783] Fortify scanf %s, %[ conversion specifiers
- From: "felix.von.s at posteo dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Mar 2017 17:55:40 +0000
- Subject: [Bug c/72783] Fortify scanf %s, %[ conversion specifiers
- Auto-submitted: auto-generated
- References: <bug-72783-4@http.gcc.gnu.org/bugzilla/>
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?