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:
@@ -84,7 +84,8 @@ namespace Aaru.Decoders.CD
|
||||
|
||||
public static CDText? Decode(byte[] CDTextResponse)
|
||||
{
|
||||
if(CDTextResponse == null)
|
||||
if(CDTextResponse == null ||
|
||||
CDTextResponse.Length <= 4)
|
||||
return null;
|
||||
|
||||
var decoded = new CDText
|
||||
|
||||
Reference in New Issue
Block a user