Author: tkreuzer
Date: Mon May 23 17:13:38 2011
New Revision: 51861
URL:
http://svn.reactos.org/svn/reactos?rev=51861&view=rev
Log:
[CRT]
Fix a bug in amd64 version of __chkstk_ms, noticed by Stefan
Modified:
trunk/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s
Modified: trunk/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/except/amd64/c…
==============================================================================
--- trunk/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s [iso-8859-1] Mon May 23 17:13:38
2011
@@ -30,7 +30,7 @@
.l_MoreThanAPage:
sub rcx, PAGE_SIZE /* yes, move pointer down 4k */
- or rcx, 0 /* probe there */
+ or [rcx], 0 /* probe there */
sub rax, PAGE_SIZE /* decrement count */
cmp rax, PAGE_SIZE