mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Added support for list-devices on FreeBSD.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace DiscImageChef.Decoders.SCSI
|
||||
return null;
|
||||
}
|
||||
|
||||
if(SCSIInquiryResponse.Length != SCSIInquiryResponse[4] + 5)
|
||||
if(SCSIInquiryResponse.Length < SCSIInquiryResponse[4] + 5)
|
||||
{
|
||||
DicConsole.DebugWriteLine("SCSI INQUIRY decoder", "INQUIRY response length ({0} bytes) is different than specified in length field ({1} bytes), decoded data can be incorrect, not decoding.", SCSIInquiryResponse.Length, SCSIInquiryResponse[4] + 4);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user