mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 14:02:02 +00:00
binary file search fix
This commit is contained in:
@@ -51,7 +51,7 @@ public class MemoryInputStream extends SeekableInputStream {
|
||||
}
|
||||
this.maxLength = maxLength;
|
||||
if (startPos + maxLength >= buffer.length) {
|
||||
throw new IOException("Invalid maxLength");
|
||||
this.maxLength = buffer.length - startPos - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user