https://git.reactos.org/?p=reactos.git;a=commitdiff;h=54d5ad753346429248b516eaf8fbf534d2fed113

commit 54d5ad753346429248b516eaf8fbf534d2fed113
Author:     Rafał Mikrut <mikrutra...@protonmail.com>
AuthorDate: Thu Oct 7 19:45:21 2021 +0200
Commit:     Stanislav Motylkov <x86co...@gmail.com>
CommitDate: Thu Oct 7 23:04:19 2021 +0300

    [NTOS:KE] Fix copy paste bug in exception helper routine for ARM (#4005)
---
 ntoskrnl/ke/arm/exp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/ke/arm/exp.c b/ntoskrnl/ke/arm/exp.c
index 1f2c7036f57..7febe920614 100644
--- a/ntoskrnl/ke/arm/exp.c
+++ b/ntoskrnl/ke/arm/exp.c
@@ -134,7 +134,7 @@ KeTrapFrameToContext(IN PKTRAP_FRAME TrapFrame,
         Context->R6 = ExceptionFrame->R6;
         Context->R7 = ExceptionFrame->R7;
         Context->R8 = ExceptionFrame->R8;
-        Context->R0 = ExceptionFrame->R9;
+        Context->R9 = ExceptionFrame->R9;
         Context->R10 = ExceptionFrame->R10;
         Context->R11 = ExceptionFrame->R11;
         Context->R12 = TrapFrame->R12;

Reply via email to