[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

bugzilla@poradnik-webmastera.com gcc-bugzilla@gcc.gnu.org
Thu Jan 4 22:13:00 GMT 2018


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

--- Comment #7 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
In general case yes, this can produce a lot of false positives. I wanted to use
this only for strings stored in fixed-size buffer. Existing string-related
warnings already uses this information, and this request is to extend
diagnostics for other related cases where strings in fixed-size buffers are
processed.


More information about the Gcc-bugs mailing list