diff --git a/lib/SCSI2SD/src/firmware/mode.c b/lib/SCSI2SD/src/firmware/mode.c index 78c05bf6..899453c7 100755 --- a/lib/SCSI2SD/src/firmware/mode.c +++ b/lib/SCSI2SD/src/firmware/mode.c @@ -525,7 +525,6 @@ static void doModeSense( idx += modeSenseCDCapabilitiesPage(pc, idx, pageCode, &pageFound); if ((scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE) && - (idx + sizeof(AppleVendorPage) <= allocLength) && (pageCode == 0x30 || pageCode == 0x3F)) { pageFound = 1;