- Fix bug in RtlZero, Fill, Move memory where the last 1-3 bytes weren't being copied.

svn path=/trunk/; revision=23853
This commit is contained in:
Alex Ionescu 2006-09-01 03:15:32 +00:00
parent 369f93b984
commit ad9fdb1ae3

View file

@ -122,7 +122,7 @@ _RtlFillMemory@12:
/* Do the fill */
rep stosd
or ecx, ecx
or ecx, edx
jnz ByteFill
/* Return */
@ -200,7 +200,7 @@ _RtlZeroMemory@8:
/* Do the fill */
rep stosd
or ecx, ecx
or ecx, edx
jnz ByteZero
/* Return */
@ -239,7 +239,7 @@ DoMove:
/* Do the move */
rep movsd
or ecx, ecx
or ecx, edx
jnz ByteMove
/* Return */