Author: tfaber Date: Sat Apr 25 15:18:37 2015 New Revision: 67415
URL: http://svn.reactos.org/svn/reactos?rev=67415&view=rev Log: [NTOS:CM] - Fix an ASSERT CORE-6976
Modified: trunk/reactos/ntoskrnl/config/cmapi.c
Modified: trunk/reactos/ntoskrnl/config/cmapi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmapi.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] Sat Apr 25 15:18:37 2015 @@ -606,7 +606,7 @@ }
/* Copy the class data */ - NT_ASSERT(Length > Offset); + NT_ASSERT(Length >= Offset); RtlCopyMemory(Info->KeyFullInformation.Class, ClassData, min(Node->ClassLength, Length - Offset));