Fix null pointer access
Detail: c/glue - Not all operations make use of device->current_pipe, but glue_DoCommand was accessing the pipe pointer regardless of whether the maxpacket value was needed or not. This causes the code to fail if zero page is relocated. Admin: Tested on rev C2 BB. Version 0.14. Tagged as 'SCSISoftUSB-0_14'
Showing with 14 additions and 12 deletions