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