mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
reduce differences to trunk
svn path=/branches/ros-amd64-bringup/; revision=45071
This commit is contained in:
parent
85441000ae
commit
e76849d9af
|
@ -63,7 +63,7 @@ DefaultQueryInfoBufferCheck(ULONG Class,
|
|||
PVOID Buffer,
|
||||
ULONG BufferLength,
|
||||
PULONG ReturnLength,
|
||||
PULONG_PTR ReturnLengthLong,
|
||||
PULONG_PTR ReturnLengthPtr,
|
||||
KPROCESSOR_MODE PreviousMode)
|
||||
{
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
@ -100,9 +100,9 @@ DefaultQueryInfoBufferCheck(ULONG Class,
|
|||
{
|
||||
ProbeForWriteUlong(ReturnLength);
|
||||
}
|
||||
if (ReturnLengthLong != NULL)
|
||||
if (ReturnLengthPtr != NULL)
|
||||
{
|
||||
ProbeForWrite(ReturnLengthLong, sizeof(ULONG_PTR), sizeof(ULONG_PTR));
|
||||
ProbeForWrite(ReturnLengthPtr, sizeof(ULONG_PTR), sizeof(ULONG_PTR));
|
||||
}
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
|
Loading…
Reference in a new issue