This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12518] memcpy acts randomly (and differently) with overlapping areas
- From: "felipe.contreras at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 28 Mar 2011 11:54:06 +0000
- Subject: [Bug libc/12518] memcpy acts randomly (and differently) with overlapping areas
- Auto-submitted: auto-generated
- References: <bug-12518-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12518
--- Comment #16 from Felipe Contreras <felipe.contreras at gmail dot com> 2011-03-28 11:53:48 UTC ---
So we have two solutions:
1) The solution proposed by Linus Torvalds, attachment #5264
Advantages: everything works the same as before
Disadvantages: a few extra cycles in certain memcpy's
2) The solution proposed by Ulrich Drepper, attachment #5323
Advantages: old binaries keep working
Disadvantages: newly compiled code remains affected
Clearly 1) is the most sensible solution as the only advantage of 2) is a few
cycles, and has drastic disadvantages.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.