Ondrej Lukas created ELY-543:
--------------------------------
Summary: 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: Darran Lofthouse
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...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)