8231490: Ugly racy writes to ZipUtils.defaultBuf
Reviewed-by: lancea
This commit is contained in:
parent
e383d26361
commit
905e3e8813
@ -419,7 +419,9 @@ public class Inflater {
|
||||
needDict = true;
|
||||
}
|
||||
if (input != null) {
|
||||
input.position(inputPos + read);
|
||||
if (read > 0) {
|
||||
input.position(inputPos + read);
|
||||
}
|
||||
} else {
|
||||
this.inputPos = inputPos + read;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user