mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 00:25:05 +00:00
use sizeof(OBJECT_ATTRIBUTES) instead of sizeof(POBJECT_ATTRIBUTES) when probing ObjectAttributes for read
svn path=/trunk/; revision=30602
This commit is contained in:
parent
f61535edf3
commit
5c489c528b
|
@ -237,7 +237,7 @@ SepCaptureSecurityQualityOfService(IN POBJECT_ATTRIBUTES ObjectAttributes OPTIO
|
|||
_SEH_TRY
|
||||
{
|
||||
ProbeForRead(ObjectAttributes,
|
||||
sizeof(ObjectAttributes),
|
||||
sizeof(OBJECT_ATTRIBUTES),
|
||||
sizeof(ULONG));
|
||||
if(ObjectAttributes->Length == sizeof(OBJECT_ATTRIBUTES))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue