mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
* fix registry BSOD when no value exists
* fixes bug 1750 * thnx to P43LOk for bug report svn path=/trunk/; revision=23568
This commit is contained in:
@@ -1564,6 +1564,11 @@ CmiDeleteValueFromKey(IN PEREGISTRY_HIVE RegistryHive,
|
||||
ULONG i;
|
||||
NTSTATUS Status;
|
||||
|
||||
if (KeyCell->ValueListOffset == -1)
|
||||
{
|
||||
return STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
|
||||
ValueListCell = HvGetCell (RegistryHive->Hive, KeyCell->ValueListOffset);
|
||||
|
||||
VERIFY_VALUE_LIST_CELL(ValueListCell);
|
||||
|
||||
Reference in New Issue
Block a user