https://git.reactos.org/?p=reactos.git;a=commitdiff;h=225e0c89d971509dc8e5a…
commit 225e0c89d971509dc8e5a7e94c9f1a1d4d7b0718
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Aug 8 09:37:16 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Nov 24 21:17:58 2022 +0200
[NTOS] Fix a bug in KiPrepareUserDebugData
---
ntoskrnl/ke/amd64/except.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/ke/amd64/except.c b/ntoskrnl/ke/amd64/except.c
index 8410fa4acc6..eed182cf6b6 100644
--- a/ntoskrnl/ke/amd64/except.c
+++ b/ntoskrnl/ke/amd64/except.c
@@ -215,7 +215,7 @@ KiPrepareUserDebugData(void)
{
/* Get a pointer to the loader data */
PebLdr = Teb->ProcessEnvironmentBlock->Ldr;
- if (!PebLdr) _SEH2_YIELD(return);
+ if (!PebLdr) _SEH2_LEAVE;
/* Now loop all entries in the module list */
for (ListEntry = PebLdr->InLoadOrderModuleList.Flink;