[Bug c/85931] -Wsizeof-pointer-memaccess for strncpy with size of source

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 25 21:04:00 GMT 2018


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=85602

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 85602 for another related instance of the warning, this one for
strncat.


More information about the Gcc-bugs mailing list