mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[NTOS:CM]
- Fix an ASSERT CORE-6976 svn path=/trunk/; revision=67415
This commit is contained in:
@@ -606,7 +606,7 @@ CmpQueryKeyData(IN PHHIVE Hive,
|
||||
}
|
||||
|
||||
/* Copy the class data */
|
||||
NT_ASSERT(Length > Offset);
|
||||
NT_ASSERT(Length >= Offset);
|
||||
RtlCopyMemory(Info->KeyFullInformation.Class,
|
||||
ClassData,
|
||||
min(Node->ClassLength, Length - Offset));
|
||||
|
||||
Reference in New Issue
Block a user