[Bug c/87823] strcpy() has bug ???
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 31 02:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87823
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>sometimes lose a byte or not collect when copying overlapping area
And that is undefined behavior according to the C standard.
More information about the Gcc-bugs
mailing list