Nikhil Shinde created IO-541:
--------------------------------

             Summary: Missing null check for arguments in 
MessageFormat.format() in XmlStreamReader.java
                 Key: IO-541
                 URL: https://issues.apache.org/jira/browse/IO-541
             Project: Commons IO
          Issue Type: Bug
          Components: Streams/Writers
            Reporter: Nikhil Shinde
            Priority: Minor


>From the documentation and implementation of XmlStreamReader class, all the 
>encoding variables passed as arguments in MessageFormat.format() can have null 
>value. There is no mention of allowing null values for Object arguments[] in 
>format method, 
Current implementation does not perform null check for all the arguments passed 
in format method.

In XmlStreamReader.calculateHttpEncoding(), All the parameters can have have 
null values, from implementation it is clear that null check is missing for 
parameters.   

 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to