mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTOSKRNL]
* Fix an out-of-bounds access. CID 731663. CORE-6681 svn path=/trunk/; revision=60571
This commit is contained in:
@@ -1198,9 +1198,7 @@ ObQueryNameString(IN PVOID Object,
|
||||
ObjectName = (PWCH)((ULONG_PTR)ObjectName -
|
||||
sizeof(L"...") +
|
||||
sizeof(UNICODE_NULL));
|
||||
RtlCopyMemory(ObjectName,
|
||||
L"...",
|
||||
sizeof(L"...") + sizeof(UNICODE_NULL));
|
||||
RtlCopyMemory(ObjectName, L"...", sizeof(L"..."));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user