Source and destination overlap in memcpy

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content