Martin Choma created WFLY-7966:
----------------------------------
Summary: Coverity static analysis: Suspicious integer expression in
BSDUnixDESCryptPasswordImpl (Elytron)
Key: WFLY-7966
URL:
https://issues.jboss.org/browse/WFLY-7966
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Martin Choma
Assignee: Darran Lofthouse
Seems {{if}} statement will never be {{true}}, because invKeyPerm is of type byte[]. And
permitted values for byte are -128...127.
{code:java|title=BSDUnixDESCryptPasswordImpl.java}
outBit = invKeyPerm[inBit];
if (outBit == 255) {
continue;
}
{code}
https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=85538...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)