mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +00:00
- 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:
parent
369f93b984
commit
ad9fdb1ae3
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue