- Fix crash in Install CD introduced in 26666, with a ludicrious hack for FreeLDR

svn path=/trunk/; revision=26668
This commit is contained in:
Alex Ionescu 2007-05-09 21:15:52 +00:00
parent 959a4b6f1e
commit 83bd3b5fc0

View file

@ -112,6 +112,9 @@ CmGetSystemControlValues(IN PVOID SystemHiveData,
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);