mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 14:47:31 +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
|
_SEH_TRY
|
||||||
{
|
{
|
||||||
ProbeForRead(ObjectAttributes,
|
ProbeForRead(ObjectAttributes,
|
||||||
sizeof(ObjectAttributes),
|
sizeof(OBJECT_ATTRIBUTES),
|
||||||
sizeof(ULONG));
|
sizeof(ULONG));
|
||||||
if(ObjectAttributes->Length == sizeof(OBJECT_ATTRIBUTES))
|
if(ObjectAttributes->Length == sizeof(OBJECT_ATTRIBUTES))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue