https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b5fcf9fe076c5c7bd2333…
commit b5fcf9fe076c5c7bd23336350dd86d04809808ce
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Tue Nov 1 03:14:09 2022 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Nov 1 03:14:09 2022 +0100
[PSDK] SECURITY_ATTRIBUTES: Remove size_is(nLength) (#4832)
nLength is the size of the struct itself, not a number of descriptors.
Addendum to 1f12113 (r26428).
---
sdk/include/psdk/wtypes.idl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/psdk/wtypes.idl b/sdk/include/psdk/wtypes.idl
index c463158b14a..579f2318e34 100644
--- a/sdk/include/psdk/wtypes.idl
+++ b/sdk/include/psdk/wtypes.idl
@@ -146,7 +146,7 @@ typedef struct _SECURITY_DESCRIPTOR {
typedef struct _SECURITY_ATTRIBUTES
{
DWORD nLength;
- [size_is(nLength)] LPVOID lpSecurityDescriptor;
+ LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;