mrnobo1024 wrote:
The new implementations for RtlFillMemory,
RtlZeroMemory, and RtlMoveMemory
have a bug where they don't write the last 1-3 bytes if the length isn't a
multiple of the word size. They have an "or ecx, ecx" which needs to be
"or
ecx, edx".
Noted, thanks! Surprised it still booted!
Also the new RtlUlonglongByteSwap is sub-optimal, it
swaps eax and
edx when they could have just been read in reverse order like the other
version did.
Not true. BSWAP will pair on the pipe and be executed much faster.
--
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS