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: Sun, 10 Apr 2011 15:50:11 +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
Felipe Contreras <felipe.contreras at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5341|0 |1
is obsolete| |
--- Comment #25 from Felipe Contreras <felipe.contreras at gmail dot com> 2011-04-10 15:49:59 UTC ---
Created attachment 5660
--> http://sourceware.org/bugzilla/attachment.cgi?id=5660
Patch to check for overlaps
Actually the code from Linus had a bug in the 'cmp' checks, here's the updated
version.
I just started to run my Fedora system with this, and I already see crashes in
pulseaudio and readahead-collector. I will continue running this for a bit, but
I think it's pretty clear that we should not assume that all applications in a
typical system have been using memcpy properly.
So, again, I think we need at least a transition period so that people can
detect and fix the issues.
--
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.