]
Ondrej Lukas updated ELY-545:
-----------------------------
Labels: static_analysis (was: )
Missing null checks in URIUtil.getHostForURI(SocketAddress
socketAddress) method
--------------------------------------------------------------------------------
Key: ELY-545
URL:
https://issues.jboss.org/browse/ELY-545
Project: WildFly Elytron
Issue Type: Bug
Affects Versions: 1.1.0.Beta5
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Labels: static_analysis
There is public static method
org.wildfly.security.util.URIUtil.getHostForURI(SocketAddress socketAddress) with missing
null checks for {{hostString}} and {{address}}. This method can be publicly accessed and
result to NPE.