Bug in FAST variants of memset64() and memcpy64()
Created originally on Bitbucket by kyselejsyrecek (Lukáš Chmela)
Hello,
I've found a bug in void* FAST memset64() and void* FAST memcpy64(), file /src/stdio.c, lines 114 and 138 shouldn't be there (the incrementations of i).
If dest is not aligned, then the pointer is rounded up and the corresponding number of bytes subtracted from length n. If, furthermore, i is then incremented, you lose one iteration of the cycle right after (consider dest = 0x00 00 00 00 00 00 00 0E and n = 9).