]
Martin Choma reassigned WFLY-7966:
----------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
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
Affects Versions: 11.0.0.Alpha1
Reporter: Martin Choma
Assignee: Ilia Vassilev
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...