- 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 */ /* Do the fill */
rep stosd rep stosd
or ecx, ecx or ecx, edx
jnz ByteFill jnz ByteFill
/* Return */ /* Return */
@ -200,7 +200,7 @@ _RtlZeroMemory@8:
/* Do the fill */ /* Do the fill */
rep stosd rep stosd
or ecx, ecx or ecx, edx
jnz ByteZero jnz ByteZero
/* Return */ /* Return */
@ -239,7 +239,7 @@ DoMove:
/* Do the move */ /* Do the move */
rep movsd rep movsd
or ecx, ecx or ecx, edx
jnz ByteMove jnz ByteMove
/* Return */ /* Return */