reactos/ntoskrnl/se
George Bișoc 93381263a1
[NTOS:SE] Remove redundant ReturnLength NULL check
In NtQueryInformationToken function, remove the useless and redundant NULL check for two primary reasons. First, DefaultQueryInfoBufferCheck already does the necessary probing validation checks and second, ReturnLength must NEVER be NULL!
If the caller does not respect the calling rules of NtQueryInformationToken, the caller is expected to be miserably punished.
2022-06-13 19:28:12 +02:00
..
access.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
accesschk.c [NTOS:SE] Deny access to the caller if access is not allowed by the object 2022-05-06 10:09:53 +02:00
acl.c [NTOS:SE] SepCaptureAcl(): Add missing validation of the captured ACL (#4523) 2022-05-23 19:30:34 +02:00
audit.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
client.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
objtype.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
priv.c [NTOS:SE] Assign the captured SID and/or privileges to NULL manually on token filtering 2022-02-10 09:51:58 +01:00
sd.c [NTOS:SE] SeValidSecurityDescriptor(): Add missing validation aspects (#4523) 2022-05-23 19:30:33 +02:00
semgr.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
sid.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
sqos.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
srm.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
subject.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
token.c [NTOS:SE] NtQueryInformationToken: implement token sandbox inert querying 2022-06-13 18:17:10 +02:00
tokenadj.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00
tokencls.c [NTOS:SE] Remove redundant ReturnLength NULL check 2022-06-13 19:28:12 +02:00
tokenlif.c [NTOS:SE] Reorganize the security manager component 2022-05-29 20:22:19 +02:00