Author: ion
Date: Thu May 10 01:15:52 2007
New Revision: 26668
URL:
http://svn.reactos.org/svn/reactos?rev=26668&view=rev
Log:
- Fix crash in Install CD introduced in 26666, with a ludicrious hack for FreeLDR
Modified:
trunk/reactos/ntoskrnl/config/cmcontrl.c
Modified: trunk/reactos/ntoskrnl/config/cmcontrl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmcontrl.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmcontrl.c (original)
+++ trunk/reactos/ntoskrnl/config/cmcontrl.c Thu May 10 01:15:52 2007
@@ -112,6 +112,9 @@
BOOLEAN Auto, IsSmallKey;
PVOID Buffer;
+ /* LUDDDIIIICRROOOUUSSSS KI^H^H HACKKKK */
+ if (!SystemHiveData) return;
+
/* Initialize the Hive View List and the security cache */
RtlZeroMemory(SystemHive, sizeof(SystemHive));
CmpInitHiveViewList((PCMHIVE)SystemHive);