[jboss-jira] [JBoss JIRA] (ELY-546) Missing null check in SecurityDomain.mapName() method
Ondrej Lukas (JIRA)
issues at jboss.org
Wed May 18 06:47:01 EDT 2016
[ https://issues.jboss.org/browse/ELY-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Lukas updated ELY-546:
-----------------------------
Labels: static_analysis (was: )
> Missing null check in SecurityDomain.mapName() method
> -----------------------------------------------------
>
> Key: ELY-546
> URL: https://issues.jboss.org/browse/ELY-546
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta5
> Reporter: Ondrej Lukas
> Assignee: Darran Lofthouse
> Labels: static_analysis
>
> There is missing null check in org.wildfly.security.auth.server.SecurityDomain.mapName(String name) method. Parameter {{name}} can be changed to null on line 162 [1] which can result to NPE in following command on line 163. Null check should be added.
> [1] https://github.com/wildfly-security/wildfly-elytron/blob/ef67225884aa79b8e949c768a867c303af09fac4/src/main/java/org/wildfly/security/auth/server/SecurityDomain.java#L162
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list