Comment 84 for bug 727064

Revision history for this message
In , m.a.young (m.a.young-redhat-bugs) wrote :

I did notice a forum post http://forums.adobe.com/thread/748698?tstart=0 which it might be worth adding a comment to if you have a suitable account to do so. It might also be explicitly pointing to the memcpy man page which says it shouldn't be used for overlapping regions so that Adobe realize they are doing something broken which just happened to work previously.

MEMCPY(3) Linux Programmer's Manual MEMCPY(3)

NAME
       memcpy - copy memory area

SYNOPSIS
       #include <string.h>

       void *memcpy(void *dest, const void *src, size_t n);

DESCRIPTION
       The memcpy() function copies n bytes from memory area src to memory
       area dest. The memory areas should not overlap. Use memmove(3) if the
       memory areas do overlap.

....