https://issues.apache.org/bugzilla/show_bug.cgi?id=49075

           Summary: protected Class User doesn't check argument roles for
                    null
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: felix.schumac...@internetallee.de


Created an attachment (id=25246)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25246)
check for null to guard Collections.unmodifiableList

If roles is null, Collections.unmodifiableList will throw a NPE.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to