Closed uweigand closed 3 years ago
The initial loop did not update the "bytes" variable to reflect bytes already copied. Therefore in the case where "bytes & 8" is non-zero, the tail code would copy an extra 8 bytes beyond the end.
Nice catch!
The initial loop did not update the "bytes" variable to reflect bytes already copied. Therefore in the case where "bytes & 8" is non-zero, the tail code would copy an extra 8 bytes beyond the end.