From 37f176e83eed965cff821fea8e1ee321b497e80e Mon Sep 17 00:00:00 2001 From: donnaskiez Date: Sun, 5 May 2024 22:00:08 +1000 Subject: [PATCH] hm --- driver/io.c | 2 +- driver/modules.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; }