mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[NTOSKRNL]
* Fix an out-of-bounds access. CID 731663. CORE-6681 svn path=/trunk/; revision=60571
This commit is contained in:
parent
b55a445031
commit
96c8ce5d9d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue