We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f0722 commit 57628a7Copy full SHA for 57628a7
sanitizers/src/main/java/com/code_intelligence/jazzer/sanitizers/Utils.kt
@@ -59,7 +59,7 @@ internal fun peekMarkableInputStream(
59
if (count < 0) break
60
n += count
61
}
62
- return if (n >= readlimit) current else current.copyOf(n)
+ return if (n < size) current.copyOf(n) else current
63
64
check(stream.markSupported())
65
stream.mark(readlimit)
0 commit comments