ReaderInputStream#read(byte[] b, int off, int len) should check for valid
parameters
------------------------------------------------------------------------------------
Key: IO-307
URL: https://issues.apache.org/jira/browse/IO-307
Project: Commons IO
Issue Type: Bug
Reporter: Sebb
If the buffer is null, the method should throw NPE immediately (rather than
letting it occur later)
If the offset or length are < 0 or would overflow the buffer, then throw
IndexOutOfBoundsException with details of the values.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira