Update Driver.c

This commit is contained in:
Mairon
2025-11-18 17:52:29 +01:00
committed by GitHub
parent cf81b4f4b4
commit 99fbc3b8a5
+4 -2
View File
@@ -445,7 +445,8 @@ NTSTATUS processIoctlRequest(
pstatus = ERROR_UNSUPPORTED_OFFSET;
__leave;
}
// https://x.com/ZeroMemoryEx/status/1990477074457387066 to add this later
/*
if (prevMode == UserMode && Irp->AssociatedIrp.SystemBuffer)
{
__try
@@ -463,7 +464,7 @@ NTSTATUS processIoctlRequest(
__leave;
}
}
*/
switch (pstack->Parameters.DeviceIoControl.IoControlCode)
{
case HIDE_PROC:
@@ -734,3 +735,4 @@ DriverEntry(
}