From 49988a5137a620d744db9c1a25ffdccfcc7f9228 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 23 May 2011 17:13:38 +0000 Subject: [PATCH] [CRT] Fix a bug in amd64 version of __chkstk_ms, noticed by Stefan svn path=/trunk/; revision=51861 --- reactos/lib/sdk/crt/except/amd64/chkstk_ms.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s b/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s index 7db1e7b366c..95423d25eac 100644 --- a/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s +++ b/reactos/lib/sdk/crt/except/amd64/chkstk_ms.s @@ -30,7 +30,7 @@ ___chkstk_ms: .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