mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOS:CM]
- Fix an ASSERT CORE-6976 svn path=/trunk/; revision=67415
This commit is contained in:
parent
410d16c399
commit
cfa300d3a1
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ CmpQueryKeyData(IN PHHIVE Hive,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Copy the class data */
|
/* Copy the class data */
|
||||||
NT_ASSERT(Length > Offset);
|
NT_ASSERT(Length >= Offset);
|
||||||
RtlCopyMemory(Info->KeyFullInformation.Class,
|
RtlCopyMemory(Info->KeyFullInformation.Class,
|
||||||
ClassData,
|
ClassData,
|
||||||
min(Node->ClassLength, Length - Offset));
|
min(Node->ClassLength, Length - Offset));
|
||||||
|
|
Loading…
Reference in a new issue