This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/67729] -Wformat should warn for %Ns where the buffer size is known to be less than N in size


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]