Skip to content

Commit

Permalink
fix: set marklimit to Integer.MAX_VALUE
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas authored and oSumAtrIX committed Jun 5, 2022
1 parent 2fabbdf commit e6e468f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/patcher/util/Io.kt
Expand Up @@ -20,7 +20,7 @@ internal class Io(
private val bufferedInputStream = BufferedInputStream(input)

fun readFromJar() {
bufferedInputStream.mark(0)
bufferedInputStream.mark(Integer.MAX_VALUE)
// create a BufferedInputStream in order to read the input stream again when calling saveAsJar(..)
val jis = JarInputStream(bufferedInputStream)

Expand Down

0 comments on commit e6e468f

Please sign in to comment.