Some devices use zero length bulk transfers, E.g iLok.
At the moment when passing a zero length transfer to the UsbDkHelper Read/WritePipe it will cause an STATUS_INVALID_USER_BUFFER error when it attempts to lock a zero length buffer in RedirectorStrategy (Line 248) and it then basically corrupts the internal state somewhere and causes the userspace program to crash.
Some devices use zero length bulk transfers, E.g iLok.
At the moment when passing a zero length transfer to the UsbDkHelper Read/WritePipe it will cause an STATUS_INVALID_USER_BUFFER error when it attempts to lock a zero length buffer in RedirectorStrategy (Line 248) and it then basically corrupts the internal state somewhere and causes the userspace program to crash.