From 5c489c528b0c6da65058c99a82198a15adf7d157 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 20 Nov 2007 19:35:40 +0000 Subject: [PATCH] use sizeof(OBJECT_ATTRIBUTES) instead of sizeof(POBJECT_ATTRIBUTES) when probing ObjectAttributes for read svn path=/trunk/; revision=30602 --- reactos/ntoskrnl/se/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/se/sd.c b/reactos/ntoskrnl/se/sd.c index 3d27f6910f9..5ebccb6bac3 100644 --- a/reactos/ntoskrnl/se/sd.c +++ b/reactos/ntoskrnl/se/sd.c @@ -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)) {