Control: tags -1 -help +pending

Niko Tyni wrote:
> (...)
> The problem is that rrd_write() ends up calling memcpy(3) on overlapping
> memory areas, which is explicitly prohibited in its documentation. With
> libc6 2.19-20 on mips, this started zeroing out part of the areas under
> some conditions. 
> (...)

Great job! Thanks a lot. :)


Aurelien Jarno wrote:
> Can't you replace memcpy calls with overlapping areas with a memmove
> instead?

Indeed. Thank you.

I expected memcpy to do nothing when source=destination. Definitely the
kind of mistake I could have made.

Reply via email to