mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SkipperRule] Fix null check
This commit is contained in:
@@ -126,7 +126,7 @@ namespace SabreTools.Helper.Skippers
|
||||
{
|
||||
byte[] buffer = new byte[4];
|
||||
int pos = 0;
|
||||
while (input.Position < (EndOffset != null ? EndOffset : input.Length)
|
||||
while (input.Position < (EndOffset ?? input.Length)
|
||||
&& input.Position < input.Length)
|
||||
{
|
||||
byte b = br.ReadByte();
|
||||
|
||||
Reference in New Issue
Block a user