[NTOS] Fix a bug in KiPrepareUserDebugData

This commit is contained in:
Timo Kreuzer 2022-08-08 09:37:16 +02:00
parent e923912f94
commit 225e0c89d9

View file

@ -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;