[jboss-jira] [JBoss JIRA] Created: (SECURITY-461) AttributeFinder:findAttribute method can throw an NPE if any of the attribute finder modules return null

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Mon Mar 1 22:41:10 EST 2010


AttributeFinder:findAttribute method can throw an NPE if any of the attribute finder modules return null
--------------------------------------------------------------------------------------------------------

                 Key: SECURITY-461
                 URL: https://jira.jboss.org/jira/browse/SECURITY-461
             Project: JBoss Security and Identity Management
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jboss-sunxacml
    Affects Versions: jbossxacml_2.0.5.CR1
            Reporter: Anil Saldhana
            Assignee: Anil Saldhana
             Fix For: jbossxacml_2.0.5.CR2


// if there was an error, we stop right away
                if (result.indeterminate()) {
                    if (logger.isLoggable(Level.INFO))
                        logger.info("Error while trying to resolve values: " +
                                    result.getStatus().getMessage());
                    return result;
                }

needs to do a "null" result check.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list