mirror of
https://gitea.tendokyu.moe/TeamTofuShop/capnhook.git
synced 2026-10-12 09:18:11 +03:00
hook/iohook.c: Remove ioctl asserts
These assertions don't seem to hold for certain real ioctl errors.
This commit is contained in:
@@ -915,9 +915,6 @@ static BOOL WINAPI iohook_DeviceIoControl(
|
||||
|
||||
hr = iohook_invoke_next(&irp);
|
||||
|
||||
assert(irp.write.pos <= irp.write.nbytes);
|
||||
assert(irp.read.pos <= irp.read.nbytes);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
/* Special case: ERROR_MORE_DATA requires this out parameter to be
|
||||
propagated, per MSDN. All ioctls in the entire process that go via
|
||||
|
||||
Reference in New Issue
Block a user