[jboss-jira] [JBoss JIRA] (ELY-546) Missing null check in SecurityDomain.mapName() method
David Lloyd (JIRA)
issues at jboss.org
Fri Jun 17 16:52:00 EDT 2016
[ https://issues.jboss.org/browse/ELY-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd reassigned ELY-546:
-------------------------------
Assignee: David Lloyd (was: Darran Lofthouse)
> 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: David Lloyd
> 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