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)