[jboss-jira] [JBoss JIRA] Closed: (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
Tue Mar 2 07:57:10 EST 2010


     [ https://jira.jboss.org/jira/browse/SECURITY-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil Saldhana closed SECURITY-461.
----------------------------------

    Resolution: Done


=======
Sending        src/main/java/org/jboss/security/xacml/sunxacml/finder/AttributeFinder.java
Transmitting file data .
Committed revision 101712.


> 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