[jboss-jira] [JBoss JIRA] (ELYWEB-6) Coverity, Dereference null return value ElytronHttpServletExchange

Martin Choma (JIRA) issues at jboss.org
Fri Jul 13 09:14:01 EDT 2018


Martin Choma created ELYWEB-6:
---------------------------------

             Summary: Coverity, Dereference null return value ElytronHttpServletExchange
                 Key: ELYWEB-6
                 URL: https://issues.jboss.org/browse/ELYWEB-6
             Project: Elytron Web
          Issue Type: Bug
    Affects Versions: 1.2.0.Final
            Reporter: Martin Choma
            Assignee: Darran Lofthouse
            Priority: Minor


Javadoc for ServletRequest.getRequestDispatcher(path) [1] says null can be returned. Therefore Coverity detects disp.forward() as potentially dereferencing null code. [2]

[1] https://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRequestDispatcher(java.lang.String)

[2] https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRYZquIFszCcwQkbx6rX2y-2BUxNCGJdkIRvpY0lX6FsmGlUNLm1ZLqjmn3Xwt68CpLFqJgqd9fwu9t55-2Fv2R1w01q_2fPkMU1miRf-2FtjnMal9VVM35TqEfZozw4WTtk2YIMAKSiRrskMGOQZz0Ta8rCKNvNs3WUbHVZvDmaDHeD309T5r6-2BsMVqQB-2BO6BuefCCb4s1a50ellRFmuTIofeoY143RBQ8RnqVwL-2F1meA8j0sJepALas4QiG2qruipA-2B4k4D6BX9I62R4IWYXHSEAOTESI8QP9dueBxyBpGXjdQ3yhqw-3D-3D



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list