ppkarwasz commented on code in PR #790:
URL: https://github.com/apache/commons-io/pull/790#discussion_r2393844888


##########
src/main/java/org/apache/commons/io/output/ClosedOutputStream.java:
##########
@@ -73,6 +75,7 @@ public void flush() throws IOException {
      */
     @Override
     public void write(final byte b[], final int off, final int len) throws 
IOException {
+        IOUtils.checkFromIndexSize(b, off, len);

Review Comment:
   Reverted in 
https://github.com/apache/commons-io/pull/790/commits/06cb03b158c105427f79c1c39b7a50a5bb57ba8d,
 with some additional test cases.



-- 
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: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to