Check for the complete initialisation of user mode modules.
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c

Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
--- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c	2005-05-28 07:37:19 UTC (rev 15560)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c	2005-05-28 07:39:54 UTC (rev 15561)
@@ -64,7 +64,7 @@
       Peb = CurrentProcess->Peb;
     }
 
-  if (Peb == NULL)
+  if (Peb == NULL || Peb->Ldr == NULL)
     {
       return FALSE;
     }