[jboss-jira] [JBoss JIRA] (ELY-1019) Elytron, ensure BSDUnixDESCryptPasswordImpl don't suffer on sign-extension bug
Martin Choma (JIRA)
issues at jboss.org
Tue Mar 21 11:12:00 EDT 2017
Martin Choma created ELY-1019:
---------------------------------
Summary: Elytron, ensure BSDUnixDESCryptPasswordImpl don't suffer on sign-extension bug
Key: ELY-1019
URL: https://issues.jboss.org/browse/ELY-1019
Project: WildFly Elytron
Issue Type: Bug
Reporter: Martin Choma
Assignee: Darran Lofthouse
{code}
shifts += keyShifts[i];
{code}
should be also ensured by
{code}
shifts += keyShifts[i] & 0xff;
{code}
True is array keyShifts does not contain any negative value, but it doesn't neither {{IP}} or {{keyPerm}}, which are ensured ?
This follow up https://issues.jboss.org/browse/JBEAP-8505
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list