ppkarwasz commented on code in PR #790:
URL: https://github.com/apache/commons-io/pull/790#discussion_r2395891735
##########
src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java:
##########
@@ -249,6 +250,7 @@ public void write(final byte[] b) throws IOException {
@SuppressWarnings("resource") // the underlying stream is managed by a
subclass.
@Override
public void write(final byte[] b, final int off, final int len) throws
IOException {
+ IOUtils.checkFromIndexSize(b, off, len);
Review Comment:
Fixed in
https://github.com/apache/commons-io/pull/790/commits/c4e4f3b5b09d59d0078a7d8b3f3772dea728e06f
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]