Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.8
-
None
-
Z/OS
Description
Base64.decode doesn't account for EBCDIC encoding.
line 281: byte[] base64Data = encoded.getBytes();
results in an array of garbage.
Then, line 307: b1 = base64Alphabet[base64Data[dataIndex++]];
causes an ArrayIndexOutOfBoundsException.
The result is that the PasswordDigest is blank.