diff --git a/driver/io.c b/driver/io.c index f81916d..7f3e521 100644 --- a/driver/io.c +++ b/driver/io.c @@ -216,7 +216,6 @@ IrpQueueQueryPendingPackets(_In_ PIRP Irp) } queue->deferred_reports.count--; - goto end; } end: @@ -335,6 +334,7 @@ IrpQueueCompletePacket(_In_ PVOID Buffer, _In_ ULONG BufferSize) return status; } +STATIC VOID IrpQueueFreeDeferredPackets() { diff --git a/driver/modules.c b/driver/modules.c index 69c5ad9..abd3665 100644 --- a/driver/modules.c +++ b/driver/modules.c @@ -1390,6 +1390,7 @@ ValidateThreadsViaKernelApc() SetApcAllocationInProgress(context); EnumerateThreadListWithCallbackRoutine(ValidateThreadViaKernelApcCallback, context); + __debugbreak(); UnsetApcAllocationInProgress(context); return status; }