https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7ca6bfb9945b8bdfbe8440644dff16fddec1511a

commit 7ca6bfb9945b8bdfbe8440644dff16fddec1511a
Author:     George Bișoc <[email protected]>
AuthorDate: Sun Jun 6 19:48:34 2021 +0200
Commit:     George Bișoc <[email protected]>
CommitDate: Tue Jun 8 09:26:11 2021 +0200

    [NTOS:SE] Use IQS_NONE for the first class which is not existent and barely 
used
---
 ntoskrnl/se/token.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c
index 256e4b31d4c..74ec4142917 100644
--- a/ntoskrnl/se/token.c
+++ b/ntoskrnl/se/token.c
@@ -32,7 +32,7 @@ static GENERIC_MAPPING SepTokenMapping = {
 static const INFORMATION_CLASS_INFO SeTokenInformationClass[] = {
 
     /* Class 0 not used, blame MS! */
-    IQS_SAME(0, 0, 0),
+    IQS_NONE,
 
     /* TokenUser */
     IQS_SAME(TOKEN_USER, ULONG, ICIF_QUERY | ICIF_QUERY_SIZE_VARIABLE),

Reply via email to