mirror of
https://github.com/aaru-dps/Aaru.Decoders.git
synced 2025-12-16 19:24:32 +00:00
Do not take as decoded data that has merely returned the SCSI data length header.
This commit is contained in:
@@ -55,7 +55,8 @@ namespace Aaru.Decoders.CD
|
||||
|
||||
public static CDFullTOC? Decode(byte[] CDFullTOCResponse)
|
||||
{
|
||||
if(CDFullTOCResponse == null)
|
||||
if(CDFullTOCResponse == null ||
|
||||
CDFullTOCResponse.Length <= 4)
|
||||
return null;
|
||||
|
||||
var decoded = new CDFullTOC
|
||||
|
||||
Reference in New Issue
Block a user