[jboss-jira] [JBoss JIRA] (ELY-844) Coverity: default platform encoding used in TokenRealmDefinition (Elytron subsystem)

Josef Cacek (JIRA) issues at jboss.org
Fri Dec 16 08:37:01 EST 2016


Josef Cacek created ELY-844:
-------------------------------

             Summary: Coverity: default platform encoding used in TokenRealmDefinition (Elytron subsystem)
                 Key: ELY-844
                 URL: https://issues.jboss.org/browse/ELY-844
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Josef Cacek
            Assignee: Darran Lofthouse
            Priority: Minor


Coverity static-analysis scan found a String to byte conversion with default platform encoding in the {{TokenRealmDefinition.performRuntime}} method.

https://scan7.coverity.com/reports.htm#v16159/p12663/fileInstanceId=6892114&defectInstanceId=1794526&mergedDefectId=1388485&eventId=1794526-0
Following code
{code:java}
jwtValidatorBuilder.publicKey(publicKey.getBytes());
{code}

The encoding should be specified as argument.




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list