Zond:fix: array out of range
This commit is contained in:
@@ -8,7 +8,7 @@ import java.io.IOException;
|
|||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
|
||||||
public class PipeInputStream extends InputStream {
|
public class PipeInputStream extends InputStream {
|
||||||
private byte[] buffer = new byte[15];
|
private byte[] buffer = new byte[1024];
|
||||||
private int lastWritePos = 0,
|
private int lastWritePos = 0,
|
||||||
lastReadPos = 0,
|
lastReadPos = 0,
|
||||||
wallPos = buffer.length-1;
|
wallPos = buffer.length-1;
|
||||||
|
|||||||
Reference in New Issue
Block a user