mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 04:41:21 +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
1 changed files with 3 additions and 3 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue