Source and destination overlap in memcpy
Issue
An application compiled on RHEL5 and using glibc has some intermittent crashes on RHEL6. Valgrind reports:
==16253== Source and destination overlap in memcpy(0x400f310f, 0x400f3110, 15)
==16253== at 0x7F9AB4F: memcpy (mc_replace_strmem.c:635)
Environment
- Red Hat Enterprise Linux 6 (RHEL)
- glibc
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
