This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17609] abnormal behavior for strncpy
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 17 Nov 2014 10:11:07 +0000
- Subject: [Bug libc/17609] abnormal behavior for strncpy
- Auto-submitted: auto-generated
- References: <bug-17609-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17609
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
You are copying between overlapping objects, which is undefined behaviour. The
same is true for memcpy.
--
You are receiving this mail because:
You are on the CC list for the bug.