public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67610] strcpy BUG
[not found] <bug-67610-4@http.gcc.gnu.org/bugzilla/>
@ 2015-09-17 15:40 ` pinskia at gcc dot gnu.org
2015-09-17 15:42 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-17 15:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67610
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|cp-tools |c
Version|unspecified |4.2.1
Resolution|--- |INVALID
Product|classpath |gcc
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Strcpy has undefined behavior if the input and output arrays overlap. Use
memmove instead.
Also this would not be a gcc bug as gcc does provide strcpy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/67610] strcpy BUG
[not found] <bug-67610-4@http.gcc.gnu.org/bugzilla/>
2015-09-17 15:40 ` [Bug c/67610] strcpy BUG pinskia at gcc dot gnu.org
@ 2015-09-17 15:42 ` pinskia at gcc dot gnu.org
2015-09-18 6:11 ` soekchl at 163 dot com
2015-09-18 6:40 ` soekchl at 163 dot com
3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-17 15:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67610
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** This bug has been marked as a duplicate of bug 67611 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/67610] strcpy BUG
[not found] <bug-67610-4@http.gcc.gnu.org/bugzilla/>
2015-09-17 15:40 ` [Bug c/67610] strcpy BUG pinskia at gcc dot gnu.org
2015-09-17 15:42 ` pinskia at gcc dot gnu.org
@ 2015-09-18 6:11 ` soekchl at 163 dot com
2015-09-18 6:40 ` soekchl at 163 dot com
3 siblings, 0 replies; 4+ messages in thread
From: soekchl at 163 dot com @ 2015-09-18 6:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67610
--- Comment #4 from Luke <soekchl at 163 dot com> ---
Thank you!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/67610] strcpy BUG
[not found] <bug-67610-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2015-09-18 6:11 ` soekchl at 163 dot com
@ 2015-09-18 6:40 ` soekchl at 163 dot com
3 siblings, 0 replies; 4+ messages in thread
From: soekchl at 163 dot com @ 2015-09-18 6:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67610
--- Comment #5 from Luke <soekchl at 163 dot com> ---
I'm so sorry, I did not read the instructions properly, giving you trouble.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-18 6:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-67610-4@http.gcc.gnu.org/bugzilla/>
2015-09-17 15:40 ` [Bug c/67610] strcpy BUG pinskia at gcc dot gnu.org
2015-09-17 15:42 ` pinskia at gcc dot gnu.org
2015-09-18 6:11 ` soekchl at 163 dot com
2015-09-18 6:40 ` soekchl at 163 dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).