Carsten Ziegeler created FELIX-6711:
---------------------------------------

             Summary: Potential NPE in HttpServletRequest.getPart
                 Key: FELIX-6711
                 URL: https://issues.apache.org/jira/browse/FELIX-6711
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
    Affects Versions: http.jetty12-1.0.8, http.wrappers-1.0.2, 
http.wrappers-1.1.2, http.jetty-5.1.18
            Reporter: Carsten Ziegeler


If getPart() is called on the request wrappers, it is not checked whether the 
actual part exists (is null) and the returned value is always wrapped.
Resulting in an NPE like

java.lang.NullPointerException: null
    at 
org.apache.felix.http.javaxwrappers.PartWrapper.getInputStream(PartWrapper.java:44)
 [org.apache.felix.http.jetty:5.1.14]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to