Skip to content
  • Gerd Hoffmann's avatar
    usb: mass storage fix · ef0bdf77
    Gerd Hoffmann authored
    
    
    Initialize scsi_len with zero when starting a new request, so any
    stuff leftover from the previous request is cleared out.  This may
    happen in case the data returned by the scsi command doesn't fit
    into the buffer provided by the guest.
    
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    ef0bdf77