From 54d5ad753346429248b516eaf8fbf534d2fed113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Thu, 7 Oct 2021 19:45:21 +0200 Subject: [PATCH] [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;