From a77108e7a4b9fcd63e6b9c101340896d1235ef5f Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 26 Mar 2019 19:22:22 +0000 Subject: [PATCH] Fix typo in INQUIRY reported size with calculated size. --- SCSI/Inquiry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCSI/Inquiry.cs b/SCSI/Inquiry.cs index 7b1d3950a..21516e42f 100644 --- a/SCSI/Inquiry.cs +++ b/SCSI/Inquiry.cs @@ -67,7 +67,7 @@ namespace DiscImageChef.Decoders.SCSI return null; } - if(SCSIInquiryResponse.Length < SCSIInquiryResponse[4] + 5 && + if(SCSIInquiryResponse.Length < SCSIInquiryResponse[4] + 4 && SCSIInquiryResponse.Length != SCSIInquiryResponse[4]) { DicConsole.DebugWriteLine("SCSI INQUIRY decoder",