]
David Lloyd reassigned ELY-543:
-------------------------------
Assignee: David Lloyd (was: Darran Lofthouse)
Missing null check in constructor of AbstractDigestMechanism
------------------------------------------------------------
Key: ELY-543
URL:
https://issues.jboss.org/browse/ELY-543
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 constructor of
org.wildfly.security.sasl.digest.AbstractDigestMechanism. Calling of
{{messageDigestAlgorithm(mechanismName)}} on line 133 [1] can return null which results to
NPE thrown from {{MessageDigest.getInstance(null)}}.
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/ef67225884aa79b8...