Details
Description
When I performed IO operations using the IOUtils toolkit provided by cxf, a null pointer exception occurred. Therefore, I read IOUtils code. And I found that some pubilic methods in this class missed parameter verification which could be result of Null pointer exceptions.
For example,
when the input was null,the code would throw an excetion when excuting input.available().
The same problem occurred with the methods copyAtLeast, loadIntoBAIS, transferTo, etc.
Attachments
Attachments
Issue Links
- links to