[Bug c/67729] -Wformat should warn for %Ns where the buffer size is known to be less than N in size
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 9 17:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67729
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Three years later, enhancement not implemented.
See
https://sourceware.org/bugzilla/show_bug.cgi?id=23490
for an example where glibc would have benefited from this enhancement.
If someone can give me a clue which source code file / function
to look at, then I'd be happy to have a look myself.
More information about the Gcc-bugs
mailing list