diff --git a/SabreTools.Serialization/Readers/ISO9660.cs b/SabreTools.Serialization/Readers/ISO9660.cs index f5e125bb..1a48b6cb 100644 --- a/SabreTools.Serialization/Readers/ISO9660.cs +++ b/SabreTools.Serialization/Readers/ISO9660.cs @@ -687,7 +687,7 @@ namespace SabreTools.Serialization.Readers // Start of sector should not be 0, ignore entire directory int nextRecordLength = data.PeekByteValue(); - if (nextRecordLength <= paddingLength) + if (nextRecordLength <= 0) return null; continue;