[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: valgrind overlapping memcpy warning on log addressing branch

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 15 Oct 2013 23:49:33 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Branko ─îibej <brane_at_wandisco.com> writes:
>
>> Memcpy is not guaranteed to copy data in order of increasing addresses; or
>> in fact any specific order. It has to be memmove.
>
> Indeed, memmove is correct if the source and destination overlap but I'm
> not yet sure whether the bug is the overlap or the use of memcpy.

I see it's been fixed by r1532565.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-10-16 00:50:06 CEST

This is an archived mail posted to the Subversion Dev mailing list.