This commit is contained in:
DavidXanatos 2022-03-23 18:59:15 +01:00
parent 5677de8abc
commit fcd6e21377
2 changed files with 3 additions and 1 deletions

View File

@ -90,6 +90,7 @@ extern const OBJECT_NAME_INFORMATION Obj_Unnamed;
extern P_ObGetObjectType pObGetObjectType;
extern P_ObQueryNameInfo pObQueryNameInfo;
extern BOOLEAN Obj_CallbackInstalled;
//---------------------------------------------------------------------------
// Macros Related to ParseProcedure

View File

@ -435,7 +435,8 @@ _FX NTSTATUS Syscall_GetNextThread(
if (NT_SUCCESS(status)) {
status = Thread_CheckObject_Common(proc, ProcessObject, DesiredAccess, FALSE);
ACCESS_MASK WriteAccess = (DesiredAccess & THREAD_DENIED_ACCESS_MASK);
status = Thread_CheckObject_Common(proc, ProcessObject, DesiredAccess, WriteAccess, L'T');
ObDereferenceObject(ProcessObject);
}