This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12518] memcpy acts randomly (and differently) with overlapping areas


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]