mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
fix hang
This commit is contained in:
parent
a9064b6d2c
commit
8cd57d6977
1 changed files with 0 additions and 2 deletions
|
@ -176,7 +176,6 @@ OB_PREOP_CALLBACK_STATUS ObPreOpCallbackRoutine(
|
|||
if ( !report )
|
||||
goto end;
|
||||
|
||||
KeAcquireGuardedMutex( &mutex );
|
||||
report->report_code = REPORT_ILLEGAL_HANDLE_OPERATION;
|
||||
report->desired_access = OperationInformation->Parameters->CreateHandleInformation.DesiredAccess;
|
||||
report->is_kernel_handle = OperationInformation->KernelHandle;
|
||||
|
@ -185,7 +184,6 @@ OB_PREOP_CALLBACK_STATUS ObPreOpCallbackRoutine(
|
|||
memcpy( report->process_name, process_creator_name, HANDLE_REPORT_PROCESS_NAME_MAX_LENGTH );
|
||||
|
||||
InsertReportToQueue( report );
|
||||
KeReleaseGuardedMutex( &mutex );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue