mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[NTOS:OB] Fix the SAL2 annotation of ObQueryTypeInfo
The data has to be written into ObjectTypeInfo based on the return length, not only what is provided by the input buffer length. Fix suggested by Hermès.
This commit is contained in:
parent
00c69bcd15
commit
8e7b22a631
1 changed files with 2 additions and 1 deletions
|
@ -946,7 +946,8 @@ NTSTATUS
|
|||
NTAPI
|
||||
ObQueryTypeInfo(
|
||||
_In_ POBJECT_TYPE ObjectType,
|
||||
_Out_writes_bytes_(Length) POBJECT_TYPE_INFORMATION ObjectTypeInfo,
|
||||
_Out_writes_bytes_to_(Length, *ReturnLength)
|
||||
POBJECT_TYPE_INFORMATION ObjectTypeInfo,
|
||||
_In_ ULONG Length,
|
||||
_Out_ PULONG ReturnLength)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue