hook/iohook.c: Remove ioctl asserts

These assertions don't seem to hold for certain real ioctl errors.
This commit is contained in:
Decaf Code
2018-11-23 13:58:25 -05:00
parent b58369f9e1
commit 1b99fb16b8
-3
View File
@@ -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