Neil Spring Mon, 27 Jun 2016 08:34:16 -0700
I applied the first two changes (memmove and long->int) and doing so solved a segfault problem on my x86_64 system.
They appear safe (memmove acts as memcpy except it handles overlap). Please apply the patch! -neil